Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions basic_examples/python_booleans.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
print "Python has 10 type of booleans", True, " and ", False
print "They are normally the result of comparisons"
print ("Python has 2 types of booleans, True, and , False")
print ("They are normally the result of comparisons")

num = 8
if num < 10:
print num, " is less than 10"
print (num, " is less than 10")
else:
print num, " is not less than 10"
print (num, " is not less than 10")


print "What we just saw are conditional statements.
print "It's ok if you do not understand them, we will look into them in greater details very soon."
print ("What we just saw are conditional statements.")
print ("It's ok if you do not understand them, we will look into them in greater details very soon.")