Commit a0345598 by BellCodeEditor

save project

parent e0c599db
Showing with 9 additions and 9 deletions
import turtle import turtle
def heart(pen,len) def heart(pen,len):
pen.pencolor("red") pen.pencolor("red")
pen.pensize(10) pen.pensize(10)
pen.left(45) pen.left(45)
pen.forward(2*len) pen.forward(2*len)
pen.circle(len,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(len,180) pen.circle(len,180)
pen.forward(2*len) pen.forward(2*len)
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
pen=turtle.Pen() pen=turtle.Pen()
......
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