Commit 69a01ad4 by BellCodeEditor

save project

parent a50ceeec
Showing with 19 additions and 0 deletions
import turtle
turtle.bgcolor('lightblue')
turtle.penup()
turtle.goto(100,-100)
turtle.write('林恺灿',font=('楷体',50,'normal'))
turtle.goto(0,0)
turtle.pendown()
turtle.pensize(30)
turtle.pencolor('red')
len=int(input('半径长度:'))
turtle.left(45)
turtle.forward(2*len)
turtle.circle(len,180)
turtle.right(90)
turtle.circle(len,180)
turtle.forward(2*len)
turtle.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