Skip to Content
Code Challenge: Control Flow
In Range

in_range(num, lower, upper)



Create a function named in_range() that has three parameters named num, lower, and upper.

The function should return True if num is greater than or equal to lower and less than or equal to upper. Otherwise, return False.

Folder Icon

Sign up to start coding

Already have an account?