True
if the variable
whose name is num has a value greater than 0 and less than 10.
num > 0 and num < 10
True
if the variable
whose name is num has a value greater than or equal to 0 and
less than or equal to 10.
num >= 0 and num <= 10
value_good = num > 0
boolean
if 5 and 0: print(True) else: print(Fals
False
if "a" or "": print(True) else: print(False)
True
not 5
False
not False
True
True and False
False
True or False
True
not True
False