Commit a973bd45 by BellCodeEditor

save project

parent 89ea574d
Showing with 3 additions and 3 deletions
import turtle
color=input("你喜欢什么颜色")
pen=turtle.Pen()
pen.fillcolor("red")
pen.fillcolor(color)
pen.begin_fill()
for i in range(5):
pen.forward(100)
pen.right(144)
pen.end_fill()
turtle.done()
pen.hideturtle()
\ No newline at end of file
pen.hideturtle()
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