NN
Size: a a a
EZ
EZ
A
NN
EZ
EZ
r1 = 100
r2 = 10
n = 30
def arc(r1, r2):
alpha = 360 / n
gamma = 180 - alpha
side = 2 * r1 * math.sin(math.pi / n)
turtle.pendown()
for i in range(int(n/2) + 1):
turtle.forward(side)
turtle.right(180 - gamma)
side = 2 * r2 * math.sin(math.pi / n)
turtle.pendown()
for i in range(int(n/2) - 1):
turtle.forward(side)
turtle.right(180 - gamma)
turtle.left(90)
turtle.penup()
turtle.goto(-500, 0)
for i in range (5):
arc(r1, r2)
A
NN
КК
A
A
КК
A
КК
A
S
z