for i in range(1,101):\x0d s=''\x0d while i%3==0:\x0d s+='Fizz'\x0d i=i/3\x0d while i%5==0:\x0d s+='Buzz'\x0d i=i/5\x0d if s=='':print i\x0d else:print s
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page