Last active
February 23, 2019 22:21
-
-
Save eprislac/a8e65417a7dccfede0b8e8d4fb295363 to your computer and use it in GitHub Desktop.
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
def fizzbuzziness(num): | |
return (f"{('', 'Fizz')[num % 3 == 0]}{('', 'Buzz')[num % 5 == 0]}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment