Commit 92647f8a by BellCodeEditor

save project

parent 77d5eddd
Showing with 13 additions and 5 deletions
......@@ -4,17 +4,19 @@ screen.bgcolor("light green")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你\n好!",font=("Times",30,"normal"))
pen.write("你\n\nwsp!",font=("Times",30,"normal"))
pen.hideturtle()
p=turtle.Pen()
a=screen.textinput("提示","lovesize")
len=100
p.pensize(5)
p.pencolor("red")
p.left(45)
p.forward(100)
p.circle(50,180)
p.forward(len*2)
p.circle(len,180)
p.right(90)
p.circle(50,180)
p.forward(100)
p.circle(len,180)
p.forward(len*2)
turtle.done()
\ No newline at end of file
import turtle
screen=turtle.Screen()
screen.textinput("姓名框","what is your name")
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