Answer to Question #231037 in Python for umesh

Question #231037

Elements in the Range

You are given three numbers. Check if any of the numbers exist in the range from 10 to 20 (including 10 and 20).

Input

The first, second, and third lines of input are integers.

Output

The output should be either

True or False.Explanation

Given

a = 2, b = 4, c = 16, 16 is in the range between 10 and 20.So the output should be

True


1
Expert's answer
2021-08-30T02:29:07-0400
a = int(input())
b = int(input())
c = int(input())
print(10 <= a <= 20 or 10 <= b <= 20 or 10 <= c <= 20)

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS