Commit 6da63a58 by BellCodeEditor

save project

parent 3d03b4ed
Showing with 19 additions and 20 deletions
...@@ -21,24 +21,22 @@ ...@@ -21,24 +21,22 @@
# turtle.done() # turtle.done()
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.textinput("姓名框","你的名字是")
# screen.bgcolor("light blue") screen.bgcolor("light blue")
# pen=turtle.Pen() pen=turtle.Pen()
# pen.up() pen.up()
# pen.goto(0,0) pen.goto(0,0)
# pen.down() pen.down()
# pen.write("祝你生日快乐",font=("仿宋",30,"normal")) pen.write("祝你生日快乐",font=("仿宋",30,"normal"))
# pen.up() pen.up()
# pen.goto(-200,0) pen.goto(-200,0)
# pen.down() pen.down()
# a=50 a=int(screen.textinput("姓名框","半径"))
# pen.left(45) pen.left(45)
# pen.forward(2*a) pen.forward(2*a)
# pen.circle(a,180) pen.circle(a,180)
# pen.right(90) pen.right(90)
# pen.circle(a,180) pen.circle(a,180)
# pen.forward(2*a) pen.forward(2*a)
# pen.pensize(5) pen.hideturtle()
# pen.pencolor("red")
# pen.hideturtle()
turtle.done() 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