boolean_list = ['True', 'True', 'True'] # check if all elements are true result = all(boolean_list) print(result) # Output: True
boolean = [True, True, True, False] print(all(boolean)) #Output: False