Commit e769222d by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
lovesize=screen.textinput("提示","名字")
pen.write("沙雕",font=("Times",30,"normal"))
pen.hideturtle()
pen.done()
penl=turtle.Pen()
len=60
screen=turtle.Screen()
screen.bgcolor("light blue")
penl.pensize(10)
penl.pencolor("red")
penl.left(45)
penl.forward(2*len)
penl.circle(len,180)
penl.right(90)
penl.circle(50,180)
penl.forward(2*len)
penl.hideturtle()
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