We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3990786 commit 797a3d5Copy full SHA for 797a3d5
1 file changed
basic_examples/python_booleans.py
@@ -0,0 +1,12 @@
1
+print "Python has 10 type of booleans", True, " and ", False
2
+print "They are normally the result of comparisons"
3
+
4
+num = 8
5
+if num < 10:
6
+ print num, " is less than 10"
7
+else:
8
+ print num, " is not less than 10"
9
10
11
+print "What we just saw are conditional statements.
12
+print "It's ok if you do not understand them, we will look into them in greater details very soon."
0 commit comments