Commit 260403b4 by BellCodeEditor

save project

parent a55fe68d
Showing with 5 additions and 4 deletions
import turtle
sb=int(input('输入数值:'))
turtle.pencolor('red')
turtle.fillcolor('red')
turtle.begin_fill()
turtle.left(45)
turtle.forward(100)
turtle.circle(50,180)
turtle.forward(2*sb)
turtle.circle(sb,180)
turtle.right(90)
turtle.circle(50,180)
turtle.forward(100)
turtle.circle(sb,180)
turtle.forward(2*sb)
turtle.hideturtle()
turtle.end_fill()
turtle.pencolor('black')
......
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