0

Please explain this

I am confused to use functions any ,all s=[1,2,3,4,5,9,-10] if all(s)<7: print("yes") else: print("no") ====>yes s=[1,2,3,4,5,9,-10] if any(s)<7: print("yes") else: print("no")=====>yes

15th Sep 2019, 9:42 AM
Amarnath
Amarnath - avatar
0 odpowiedzi