Creating heart shape in python using turtle.
“Turtle” is a python feature like a drawing board, which lets you command a turtle to draw all over it!
You can use functions like turtle.forward and turtle.left which can move the turtle around. Getting to Know the Python turtle Library turtle is a pre-installed Python library that enables users to create pictures and shapes by providing them with a virtual canvas. The onscreen pen that you use for drawing is called the turtle and this is what gives the library its name.
- How to run
- Download the code
- Run python3 heart.py