Commit 07947c97 by BellCodeEditor

save project

parent 792722ca
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,7 @@ color = input("想要什么颜色") ...@@ -3,7 +3,7 @@ color = input("想要什么颜色")
pen = turtle.Pen() pen = turtle.Pen()
pen.fillcolor(color) pen.fillcolor(color)
pen.begin_fill() pen.begin_fill()
for i in range(5) for i in range(5):
pen.forward(100) pen.forward(100)
pen.right(144) pen.right(144)
pen.end_fill() pen.end_fill()
......
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