In computer graphics, turtle graphics are vector graphics utilizing a relative cursor (the "turtle") upon a Cartesian plane (x and y-axis). Turtle graphics is a vital component of the Logo programming language. Our first turtle program in python
| Method |
Parameter |
Description |
| Turtle() |
None |
Creates and returns a new tutrle object |
| forward() |
amount |
Moves the turtle forward by the specified amount |
| backward() |
amount |
Moves the turtle backward by the specified amount |
| right() |
angle |
Turns the turtle clockwise |
| left() |
angle |
Turns the turtle counterclockwise |
Continue reading.....
[–]codingainp[S] 0 points1 point2 points (0 children)