MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vda9j/deleted_by_user/ch7zsld/?context=3
r/ProgrammerHumor • u/[deleted] • Jan 16 '14
[removed]
446 comments sorted by
View all comments
0
Yay Python!
counter = 1 while counter < 101: currentString = "" if counter%3 == 0: currentString = "Fizz" if counter%5 == 0: currentString += "Buzz" if currentString == "": print str(counter) +"\n" else: print currentString +"\n" counter += 1
View all comments
0
u/PogOtter May 02 '14
Yay Python!