Skip to content

Instantly share code, notes, and snippets.

@aphor
Created November 3, 2018 00:47
Show Gist options
  • Save aphor/20236547bce911b60133eec7ca7ff1a1 to your computer and use it in GitHub Desktop.
Save aphor/20236547bce911b60133eec7ca7ff1a1 to your computer and use it in GitHub Desktop.
Truthy dict()
if {}:
print("yay!")
else:
print("boo!")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment