Created
October 9, 2015 22:27
-
-
Save aorborc/155b5a4045a1906f4b09 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
import sys | |
n = int(raw_input("Enter the Counter number : ")) | |
for i in range(1,n): | |
if( i% 15 == 0): | |
print "fizzbuzz" | |
elif (i%3 == 0): | |
print "fizz" | |
elif (i%5 == 0): | |
print "buzz" | |
else: | |
print i |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment