Commit ef4f1df8 by BellCodeEditor

save project

parent b21edf8e
Showing with 5 additions and 4 deletions
import turtle import turtle
screen = turtle.Screen() screen = turtle.Screen()
screen.bgcolor("pink") screen.bgcolor("pink")
len =60
pen = turtle.Pen() pen = turtle.Pen()
pen.begin_fill() pen.begin_fill()
pen.left(90) pen.left(90)
pen.circle(60, 180) pen.circle(len, 180)
pen.left(180) pen.left(180)
pen.circle(60, 180) pen.circle(len, 180)
pen.left(45) pen.left(45)
pen.forward(170) pen.forward(len*2+50)
pen.left(90) pen.left(90)
pen.forward(170) pen.forward(len*2+50)
pen.end_fill() pen.end_fill()
turtle.penup() turtle.penup()
turtle.goto(100,-100) turtle.goto(100,-100)
......
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