Created
April 17, 2017 09:47
-
-
Save DeviaVir/8b13245167cf10476abcf4b0593ed83c 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
N = int(raw_input()) | |
for i in range(1, N + 1): | |
str = '' | |
if i % 3 == 0: | |
str = 'Fizz' | |
if i % 5 == 0: | |
str += 'Buzz' | |
if str == '': | |
str = i | |
print(str) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment