-
Notifications
You must be signed in to change notification settings - Fork 0
3.2. Booleans
Julio edited this page Jun 12, 2022
·
6 revisions
true_boolean = True
false_boolean = False
Concatenation solved left to right, shortcuting
< Less than
> More than
<= Less or equal to
!= not equal to
== equal to
x == y
x < y
x > y
x != y
x >= y
x <= y
x is y # Point to the same object
x is not y
x in cont_obj
x not in cont_obj
# In order of preference
not b1
b1 and b2
b1 or b2
0 == False # Other ints are true