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

 

 

Athenian: Booleansless_than1

prev  |  next  |  chance

Checking to see if a number is less than another number

def less_than(num):
    x = (num < 5)
    return x
Function Call  Return Value
less_than(3)
less_than(5)
less_than(7)

Experiment with this code on Gitpod.io

⬅ Back