Commit d1cb9f70 by BellCodeEditor

save project

parent 3cfea8f0
Showing with 1 additions and 0 deletions
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
name=input("什么颜色:") name=input("什么颜色:")
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.color(name)
pen.fillcolor(name) pen.fillcolor(name)
pen.begin_fill() pen.begin_fill()
for i in range(5): for i in range(5):
......
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