Commit cc7a1add by BellCodeEditor

save project

parent bc940bc3
Showing with 3 additions and 1 deletions
import turtle
ink = input("什么色?")
pen = turtle.Pen() pen = turtle.Pen()
color=input("什么颜色") color=input("什么颜色")
pen.fillcolor(color) pen.fillcolor(color)
...@@ -8,3 +8,4 @@ for i in range(5): ...@@ -8,3 +8,4 @@ for i in range(5):
pen.forward(200) pen.forward(200)
pen.right(144) pen.right(144)
pen.end_fill() pen.end_fill()
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