myList=[True, True, True, True] print(all(myList)) # True myList2=[True, True, True, False] print(all(myList2)) # False