ohmy.codes

IP 183.108.0.0 Created 03-28 15:25
1
import math
2
r = int(input())
3
point = []
4
for theta in range(0,360):
5
y=r*math.sin(theta)
6
x=r*math.cos(theta)
7
point.append([round(x),round(y)])
8
9
10
11
for x in range(-r-1,r+1):
12
for y in range(-r-1,r+1):
13
if([x,y] in point):
14
print("..",end="")
15
else:
16
print(" ",end='')
17
print('')
18