Commit e5055b96 by BellCodeEditor

save project

parent 07858a54
Showing with 20 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
pen.write("452686456\n78346780932",font=("Times",15,"normal"))
penl=turtle.Pen()
penl.penup()
penl.goto(-100,0)
len=int(turtle.textinput("提示","数字"))
penl.pendown()
penl.left(45)
penl.forward(2*len)
penl.circle(len,180)
penl.right(90)
penl.circle(len,180)
penl.forward(2*len)
penl.hideturtle
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