LearnPy Hub
← Operators problems
Easy

Between Two Numbers

Read x, lo and hi and print the result of the chained comparison lo <= x <= hi.

Input

Three integers, one per line.

Output

True or False.

Sample 1

Input
5
1
10
Output
True

Sample 2

Input
0
1
10
Output
False
solution.py
Output appears here
Between Two Numbers · Python practice problem · LearnPy Hub