Commit 0b4fee26 by BellCodeEditor

auto save

parent 07858a54
Showing with 21 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor("green")
Pen=turtle.Pen()
Pen.penup()
Pen.goto(100,0)
Pen.write("你好\nSB。",font=("Times",30,"normal"))
Pen.hideturtle()
Pens=turtle.Pen()
len=screen.textinput("要多大","xi")
a=int(len)
Pens.pencolor("red")
Pens.pensize(5)
Pens.left(45)
Pens.forward(2*a)
Pens.circle(a,180)
Pens.right(90)
Pens.circle(a,180)
Pens.forward(2*a)
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