Commit 7597a114 by BellCodeEditor

save project

parent d990bccf
Showing with 112 additions and 0 deletions
import turtle
pen=turtle.Pen()
color=input("请输入颜色:")
pen.shape("turtle")
pen.fillcolor(color)
pen.begin_fill()
for i in range(5):
pen.forward(200)
pen.right(144)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.forward(200)
turtle.right(90)
turtle.penup()
turtle.goto(100,-100)
turtle.pendown()
turtle.circle(10)
turtle.fillcolor(red)
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