# if-elif-else
if condition_1 :
#bloc of instruction
elif condition_2:
#bloc of instruction
elif condition_3:
#bloc of instruction:
else:
#bloc of instruction
|
all([x, y, z])
|
x and y and z
|
x or y or z
|
|
(x or y) and z
|
(x and y) or z
|
etc
|
(3 - 2.7) == 0.3 returns False, 3 - 2.7 returns 2.999...8. No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.