# any() or all() function, checking if any or all elements are True l1 = ['sanjose', 'cupelation', 'sunnyvale', 'fremont'] print(all(l1)) #Returns True l2= [0,0,0,False] print(any(l2)) #Returns False