Commit 144da38f by BellCodeEditor

save project

parent a50ceeec
Showing with 19 additions and 0 deletions
import turtle
p=turtle.Pen()
p.penup()
p.goto(100,-100)
s=turtle.Screen()
s.bgcolor("gold")
p.write("我是你爸,\n永远是你爹",font=("Times",30,"normal"))
p.hideturtle()
sb=turtle.Pen()
len=50
sb.pencolor("red")
sb.lt(45)
sb.fd(4*len)
sb.circle(2*len,180)
sb.rt(90)
sb.circle(2*len,180)
sb.fd(4*len)
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