Last active
February 23, 2019 21:15
-
-
Save eprislac/85338f978cf45fc10d14e74e59d4cf54 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' if num % 3 == 0 else ''}{'Buzz' if num % 5 == 0 else ''}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment