Commit 282d2b69 by BellCodeEditor

save project

parent a50ceeec
Showing with 27 additions and 0 deletions
import turtle
screen=turtle.Screen()
pen=turtle.Pen()
screen.bgcolor("red")
pen.penup()
pen.goto(100,-100)
pen.write("1234567\n1234567\n1234567\n",font=("Times",20,"normal"))
pen.hideturtle()
def huaaixin(a,b):
pena=turtle.Pen()
pena.pencolor("blue")
pena.pensize(a)
pena.left(45)
pena.forward(b)
pena.circle(b/2,180)
pena.right(90)
pena.circle(b/2,180)
pena.forward(b)
pena.hideturtle()
huaaixin(10,200)
turtle.done()
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