l=range(1,1e4) for x in l:print x,;del l[x-1%x::x+1/x]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page