Elements in the Range
Write a Python Program of Elements in the Range.It Consists of two test cases
The below link contains Elements in the Range - question, explanation and test cases
https://drive.google.com/file/d/1i2DhICQrl6o3mv6wKLycUvbuEvb4SulW/view?usp=sharing
We need all test cases can be come while code was run
a = int(input())
b = int(input())
c = int(input())
l = [a, b, c]
test = True
for i in l:
if i >=10 and i <= 20:
print("True")
test = False
break
if test: print("False")
Test Cases:
Sample Input 1:
2
4
16
Sample Output 1:
True
Sample Input 2:
2
4
6
Sample Output 2:
False
Comments
Leave a comment