Skip to content

Files

24 lines (22 loc) · 898 Bytes

File metadata and controls

24 lines (22 loc) · 898 Bytes

Python Strictly Greater Than Operator

The greater than operator (>) compares the values of two numbers.
If the number to the left is greater than the number to the right, it returns True.
Otherwise, it returns False.

>>> a = 7
>>> b = 17
>>> a > b
False
>>> b > a
True
>>> b > 10
True

Instructions:
Time to fill in the blanks!
In the console, there is a function named strictly_greater_than() that has an if-elif-else statement.
In the lines with the 'if' and 'elif' clauses, fill in the greater than operator and the appropriate values to make the function run properly.