Commit b4a9e810 by BellCodeEditor

save project

parent 07858a54
Showing with 21 additions and 0 deletions
import turtle
Pen=turtle.Pen()
len=60
Pen.penup()
Pen.goto(100,-100)
screen = turtle.Screen()
len=screen.textinput("姓名框","你的名字是:")
lovesize=int(len)
screen.bgcolor("lightblue")
Pen.write("诺依,turtle真好用,\n我会在画布上写字啦\n!",font=("Times",15,"normal"))
pen1=turtle.Pen()
pen1.pensize(9)
pen1.pencolor("blue")
pen1.left(45)
pen1.forward(lovesize*2)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(lovesize*2)
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