Commit 6a40427d by BellCodeEditor

save project

parent cbc72da0
Showing with 8 additions and 8 deletions
import turtle
pen=turtle.Pen()
pen.color("light pink")
pen.color("light blue")
pen.hideturtle()
pen.goto(-300,0)
pen.goto(-100,0)
pen.up()
pen.write("Hi,Welcome to the die party",font=("Times",40,"normal"))
pen.write("lbwnb,lbwnb",font=("Times",20,"normal"))
pen1=turtle.Pen()
pen1.color("black")
pen1.color("red")
screen=turtle.Screen()
screen.bgcolor("light blue")
a=screen.textinput("姓名框","填入你的姓名:")
a=screen.textinput("姓名框","can we kiss forever:")
a=int(a)
pen1.left(45)
pen1.forward(2*a)
......
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","填入你的姓名")
turtle.done()
screen.textinput("姓名框","can we kiss forever:")
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