DozzFizzBuzz by recursive

O=[1]+[""]*99
c=n=1
while O:
 if""==O[0]:O[::n]=[v+"QDFBMP"[c%6]+"aoiue"[c%5]+"zz"for v in O[::n]];c+=1
 print O.pop(0);n+=1

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page