Created
November 3, 2018 00:47
-
-
Save aphor/20236547bce911b60133eec7ca7ff1a1 to your computer and use it in GitHub Desktop.
Truthy dict()
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
if {}: | |
print("yay!") | |
else: | |
print("boo!") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment