2022-10-15 11:26:59 +05:30

8 lines
551 B
Markdown

# Turtle Graphics
The turtle module provides an environment in which turtles move around on a 2-dimensional grid. Turtles have a position, heading (the direction the turtle is facing) and a variety of possible states (turtles can draw lines of a particular colour when they move or leave no trace) and actions (turn left or right; move forward or backward.
![Screenshot (468)](https://user-images.githubusercontent.com/48403800/195971450-c57a6e04-f64e-413b-a29b-cdd59b5d8484.png)
We can create amazing graphics using _turtle_ and _colorsys_ module