diff --git a/basic_examples/python_booleans.py b/basic_examples/python_booleans.py index b006e8b..5699b00 100644 --- a/basic_examples/python_booleans.py +++ b/basic_examples/python_booleans.py @@ -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.")