Last active
June 24, 2019 01:32
-
-
Save siberiy4/caa34c977358aaf84fe910933d041858 to your computer and use it in GitHub Desktop.
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
start=int(input()) | |
end=int(input()) | |
fizz=3 | |
buzz=5 | |
for i in range(start,end+1): | |
if not (i%fizz) and not (i%buzz) : | |
print("FizzBuzz") | |
pass | |
elif not (i%fizz): | |
print("Fizz") | |
pass | |
elif not (i%buzz): | |
print("Buzz") | |
pass | |
else: | |
print(i) | |
pass | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment