Commit 05ad0cd4 by BellCodeEditor

save project

parent 7ceb5d46
Showing with 3 additions and 2 deletions
...@@ -3,8 +3,8 @@ pen=turtle.Pen() ...@@ -3,8 +3,8 @@ pen=turtle.Pen()
color=input("颜色?") color=input("颜色?")
pen.fillcolor(color) pen.fillcolor(color)
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(100):
pen.forward(150) pen.forward(150)
pen.right(144) pen.right(143)
pen.end_fill() pen.end_fill()
turtle.done() turtle.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