Skip to content

Instantly share code, notes, and snippets.

@hassanuos
Created January 31, 2024 05:21
Show Gist options
  • Save hassanuos/95518bef084ebd0a0cf24a9148f6d47c to your computer and use it in GitHub Desktop.
Save hassanuos/95518bef084ebd0a0cf24a9148f6d47c to your computer and use it in GitHub Desktop.
bool_list = [True, True, True, True]
if all(bool_list):
print("All elements are true")
else:
print("Not all element true")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment