13-12-2010, 06:06 PM
I am aware the code is ugly and I don't care- I know it works.
Python 2.6.5
Python 2.6.5
Code:
for n in range(1,100):
if n/3==int(n/3) and n/5!=int(n/5):print('fizz',)
if n/5==int(n/5)and n/3!=int(n/3):print('buzz',)
if n/5==int(n/5)and n/3==int(n/3):print('fizzbuzz',)
if n/3!=int(n/3) and n/5!=int(n/5):print(n)
Having long hair is great until you have to pull a footlong out of the dog's butt. flatank.blogspot.com
I. AM. LATCH.
I. AM. LATCH.