Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

draw heart with python

#pip install turtle
import turtle
screen = turtle.Screen()
h = turtle.Turtle()
h.color('red')
h.begin_fill()
h.pensize(3)
h.left(50)
h.forward(133)
h.circle(50,200)
h.right(140)
h.circle(50,200)
h.forward(133)
h.end_fill()
turtle.done()
 
PREVIOUS NEXT
Tagged: #draw #heart #python
ADD COMMENT
Topic
Name
8+6 =