Answer to Question #219115 in Python for Hari nadh babu

Question #219115

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

1
Expert's answer
2021-07-22T18:39:37-0400
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

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