filmov
tv
GCSE Python #7: Relational and Logical Operations

Показать описание
Demonstrating the relational (also called comparison) operators and the logical (also called Boolean) operators in Python. These will be used in conditions when we look at loops and selection.
Try Now answers:
1a) False
b) Nothing, you get a syntax error as it should be the equals sign after the greater than sign instead (where it would evaluate to True)
c) True
d) True
2) False
Try Now answers:
1a) False
b) Nothing, you get a syntax error as it should be the equals sign after the greater than sign instead (where it would evaluate to True)
c) True
d) True
2) False