Double Period by rolf

import math
a,p=map(int,raw_input().split())
t=-1e-5
exec'print" "*int(math.sin(t)*a+a)+" *";t+=6.283/p;'*2*p

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

download

return top