Created
January 31, 2024 05:21
-
-
Save hassanuos/95518bef084ebd0a0cf24a9148f6d47c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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