Plot Circle by pooq

n:stdin.get_s(2).to_i;range(-n,n+1){|y|range(-n,n+1){print(y*y+it*it>n*n?" ":"*");}"".p;}

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

download

return to the top page