Created
August 17, 2018 13:09
-
-
Save xfenix/280d6d356d70ad5b8fd595b0abbec676 to your computer and use it in GitHub Desktop.
FizzBuzz in one row (Don't do this. Ever)
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
for item in range(1,101): print((('Fizz' if item % 3 == 0 else '') + ('Buzz' if item % 5 == 0 else '')) or item) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment