Commit 631b5807 by BellCodeEditor

save project

parent e5e30eb7
Showing with 18 additions and 9 deletions
import turtle
#pen=turtle.Pen()
#pen.write("你好呀",font=("Times",30,"normal"))
#pen.hideturtle()
#turtle.done()
turtle.penup()
turtle.goto(100,-100)
turtle.pendown()
pen=turtle.Pen()
pen.write("你好呀",font=("Times",30,"normal"))
pen.hideturtle()
len=50
turtle.penup()
turtle.goto(-100,100)
turtle.pendown()
turtle.pensize(10)
turtle.color("red","red")
turtle.begin_fill()
turtle.left(45)
turtle.forward(100)
turtle.circle(50,180)
turtle.forward(2*len)
turtle.circle(len,180)
turtle.right(90)
turtle.circle(50,180)
turtle.forward(100)
turtle.circle(len,180)
turtle.forward(2*len)
turtle.end_fill()
turtle.hide()
screen=turtle.Screen()
screen.bgcolor("pink")
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