n=input() r=range(-n,n+1) for i in r:print"".join("* "[i*i+j*j>n*n]for j in r)

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

download

return top