id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Booleansgreater_than1

prev  |  next  |  chance

Checking to see if a number is greater than another number

def greater_than(num):
    x = (num > 5)
    return x
Function Call  Return Value
greater_than(3)
greater_than(5)
greater_than(7)

Experiment with this code on Gitpod.io

⬅ Back