[python/en] Added Bool operators

Modified Bool operators
This commit is contained in:
Steven Basart 2014-09-07 19:32:46 -04:00
parent 820eebcd33
commit 81b4f49e99

View File

@ -62,7 +62,7 @@ to Python 2.x. Look for another tour of Python 3 soon!
+True and False #=> False
+False or True #=> True
+
+# Note with ints
+# Note using Bool operators with ints
+0 and 2 #=> 0
+-5 or 0 #=> -5
+0 == False #=> True