What and and or return

print(0 or 5) → 5

You can also choose a level by clicking its number.

About the course

Description
The and and or operators do not return just True and False, but one of their operands
More information
The examples are in Python. Indentation determines what belongs to a loop or a condition.
Sample question
print(0 or 5) → 5
Author
Jiří Preisler
Version
1.0