Created
February 18, 2016 04:17
-
-
Save michaeljohnbarr/ef1470db69663b4eddc3 to your computer and use it in GitHub Desktop.
Double Negatives, Anyone?!
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 not True: | |
print 'wow' | |
else: | |
print 'neat' | |
# neat | |
if not not True: | |
print 'wow' | |
else: | |
print 'neat' | |
# wow | |
if not not not True: | |
print 'wow' | |
else: | |
print 'neat' | |
# neat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment