Commit 5fa661c7 by BellCodeEditor

save project

parent 654bc3ba
Showing with 31 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("light yellow")
pen=turtle.Pen()
pen.pencolor("light blue")
pen.penup()
pen.goto(100,-100)
pen.write("Hi,诺依~ ",font=("Times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
screen=turtle.Screen()
len=screen.textinput("姓名框","你想要什么样子的爱心")
liesawe=int(len)
pen1.pensize(5)
pen1.pencolor("blue")
pen1.left(45)
pen1.forward(liesawe*2)
pen1.circle(liesawe,180)
pen1.right(90)
pen1.circle(liesawe,180)
pen1.forward(liesawe*2)
turtle.done()
import turtle
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的名字是:")
turtle.done()
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的名字是:")
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