Commit db00c0cf by BellCodeEditor

save project

parent 591406e9
Showing with 13 additions and 8 deletions
import turtle import turtle
#pen=turtle.Pen() pen=turtle.Pen()
#pen.write("hellow,洛伊。",font=("Times",30,"normal"))# 利用write()帮助悟空给诺依回信吧~ screen=turtle.Screen()
#pen.hideturtle() screen.bgcolor("yellow")
#turtle.done() pen.penup()
pen.goto(100,-100)
pen.write("hellow,洛伊。\n我很喜欢",font=("Times",15,"normal"))# 利用write()帮助悟空给诺依回信吧~
pen.hideturtle()
penl=turtle.Pen() penl=turtle.Pen()
penl.pensize(5) penl.pensize(5)
penl.pencolor("red") penl.pencolor("red")
len=60
penl.left(45) penl.left(45)
penl.forward(100) penl.forward(len)
penl.circle(50,180) penl.circle(len/2,180)
penl.right(90) penl.right(90)
penl.circle(50,180) penl.circle(len/2,180)
penl.forward(100) penl.forward(len)
penl.hideturtle() penl.hideturtle()
turtle.done() turtle.done()
\ No newline at end of file
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