Ответ:
import turtle
turtle.Screen()
turtle.shape("turtle")
turtle.pensize(5)
u=int(input())
s=int(input())
turtle.pendown()
for i in range (u):
turtle.forward(s)
turtle.left(360/u)
turtle.penup()
turtle.hideturtle()
turtle.mainloop()
Объяснение:
картинка
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
import turtle
turtle.Screen()
turtle.shape("turtle")
turtle.pensize(5)
u=int(input())
s=int(input())
turtle.pendown()
for i in range (u):
turtle.forward(s)
turtle.left(360/u)
turtle.penup()
turtle.hideturtle()
turtle.mainloop()
Объяснение:
картинка