turtle.heading()
Return the turtle’s current heading (value depends on the turtle mode, see mode()
).
1 2 3 4 | >>> turtle.home() >>> turtle.left(67) >>> turtle.heading() 67.0 |
turtle.heading()
Return the turtle’s current heading (value depends on the turtle mode, see mode()
).
1 2 3 4 | >>> turtle.home() >>> turtle.left(67) >>> turtle.heading() 67.0 |
Designed by : w10schools
service@w10schools.com
Please login to continue.