Commit d681b7d2 by BellCodeEditor

auto save

parent 07858a54
Showing with 15 additions and 0 deletions
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("yellow")
pen.pencolor("red")
pen.pensize(20)
p=screen.textinput("提示","想要多大")
n=int(p)
pen.left(45)
pen.forward(2*n)
pen.circle(n,180)
pen.right(90)
pen.circle(n,180)
pen.forward(2*n)
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