Types of values

Report a typo

Take a look at the code. Match values with their types.

def check(x):
    if 4 <= x < 50:
        print(x)
    else:
        print("Wrong!")

number = int(input("Enter your number: "))
check(number)
Match the items from left and right columns
4
50
25
0
It is an expected value.
It is a border value that is not included.
It is a border value that is included.
It is an invalid value.
___

Create a free account to access the full topic