True and False
True and False
number_1 >= number_2
5 != 6
True
True
if the variable
whose name is num has a value greater than 0 and less than 10.
num > 0 and num < 10
value_good = num > 0
boolean
not False
True
True and False
False
True or False
True
if
/elif
/else
statement that prints
"Positive" if the value of the variable numb
is greater than 0, and prints "Negative" if it is less than 0 and
print "Zero" otherwise.
if numb > 0:
print("Positive")
elif numb < 0:
print("Negative")
else:
print("Zero")