Commit 27a244f1 by BellCodeEditor

save project

parent 236debbc
Showing with 8 additions and 3 deletions
......@@ -2,8 +2,12 @@ import turtle as tu
p = tu.Pen()
p.fillcolor("red")
p.begin_fill()
for i in range(5):
p.forward(200)
p.right(144)
e = int(input(" shuru "))
f = int(180-(360/e))
g = int(360/f)
for i in range(g):
p.forward(100)
p.right(f)
p.end_fill()
p.hideturtle()
tu.done()
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment