Plot Circle by kt3k

r=input()
d=range(-r,r+1)
for y in d:print''.join(" *"[x*x+y*y<=r*r]for x in d)

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

download

return to the top page