anybody know how to code?




Use an algorithm to help the Python Turtle get to the finish line in 10 steps by using only the 3 commands below:
- Turn Left
- Turn Right
- Move #












Answer:
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

anybody know how to code Use an algorithm to help the Python Turtle get to the finish line in 10 steps by using only the 3 commands below Turn Left Turn Right M class=

Respuesta :

▪︎An onscreen camera for drawing virtual images is called "turtle" in python language.

[tex]\hookrightarrow[/tex]The codes we will be using in the following algorithm are :

▪︎Turtle.left

▪︎Turtle.right

▪︎Turtle.move #upward

[tex]\hookrightarrow[/tex] An algorithm to help the python turtle reach the finish line :

  1. Turtle.left
  2. Turtle.left
  3. Turtle.left
  4. Turtle.move#upward
  5. Turtle.move#upward
  6. Turtle.move#upward
  7. Turtle.right
  8. Turtle.right
  9. Turtle.move#upward
  10. Turtle.left