Last active
November 23, 2022 14:20
-
-
Save mightbesimon/61628ec26d3b1cd3ab917827a58163ef to your computer and use it in GitHub Desktop.
fizzbuzz
This file contains hidden or 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
print(*[num if num%3 and num%5 else 'fizz'*(not num%3) + 'buzz'*(not num%5) for num in range(1,20)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment