Commit 580a2dfd by BellCodeEditor

auto save

parent 3508c928
Showing with 0 additions and 23 deletions
import turtle
n=turtle.Screen()
n.bgcolor("blue")
Pen1=turtle.Pen()
Pen1.penup()
Pen1.goto(-100,-100)
Pen1.write("诺一,turtle真好用我会在画布上写字啦!",font=("Times",13,"normal"))
turtle.hideturtle()
Pen=turtle.Pen()
Pen.pencolor("red")
m=60
m=Screen.textinput("提示")
lovesize=int(m)
Pen.left(45)
Pen.forward(2*m)
Pen.circle(m,180)
Pen.right(90)
Pen.circle(m,180)
Pen.forward(2*m)
Pen.hideturtle()
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