all python

26

boolean_list = ['True', 'True', 'True']

# check if all elements are true
result = all(boolean_list)
print(result)

# Output: True

Comments

Submit
0 Comments