Created
November 1, 2018 17:32
-
-
Save britishben/e96b7444031c06f2967a5e1af7aeb3b9 to your computer and use it in GitHub Desktop.
Short Fizzbuzz
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
#!/usr/bin/python3 | |
for n in range(1,21):print("%s%s"%(("","Fizz")[not n%3],("","Buzz")[not n%5]) or n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment