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

 

 

Boolean Expressionsless_than

prev  |  next  |  chance

Determine if one value is less than another with the < operator.

def less_than(val1, val2):
    result = val1 < val2
    return result
Function Call  Return Value
less_than(4, 6)
less_than(8, 12)
less_than(19, 19)
less_than(12, 8)
less_than(11, 28)

Experiment with this code on Gitpod.io

⬅ Back