Commit a78b1b1c by BellCodeEditor

save project

parent ccc744a4
Showing with 12 additions and 5 deletions
s=-60
import turtle
a=input("你的民治")
pen=turtle.Pen()
pen.pencolor('white')
pen.goto(100,100)
pen.pencolor('yellow')
pen.write("你好"+a,font=("times",30,"normal"))
pen.write("你好,"+a,font=("times",30,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor('red')
pen1.pensize(5)
pen1.right(-45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*s)
pen1.circle(s,180)
pen1.left(-90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(s,180)
pen1.forward(2*s)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
import turtle
a=turtle.Screen()
a.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