Script adapted from [4 pp. 32-33]
Practice
- Write the program from the video using the “for” loop and the “range()” function to make Edison drive a square.
- Using a loop, write and download a program to make Edison drive in a triangle. What angle would you need?
- Using a loop, write and download a program to make Edison drive in a hexagon. What angle would you need?