Python for GCSE

2.2: be able to use: equal to; not equal to; less than; greater than; less than or equal to; greater than or equal to

Keywords:
Logic and flow control
Test your self on these keywords and definitions using the games below or Play random game
KeywordDefinition
!=check if two values are not equal
<True if the value on the left is less than the value on the right
<=True if the value on the left is less than or equal to the value on the right
==True if two values are equal
>True if the value on the left is greater than the value on the right
>=True if the value on the left is greater than or equal to the value on the right
comparative operatorsymbol used to compare
Keyword games:
Resources: