Q:

Write a Python program to find all the values in a list are greater than a specified number

0

Write a Python program to find all the values in a list are greater than a specified number

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

list1 = [220, 330, 500]
list2 = [12, 17, 21]
print(all(x >= 200 for x in list1))
print(all(x >= 25 for x in list2))

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now