Learn to program

 
  Finch assignments ::

Learning Goal: Understand how to write a program to control a robot, using loops, conditionals and subroutines where appropriate.

 

 
 

Finch Assignment 10 - Degrees


You are going to add more functions to your module.


In your Turns assignment, you figured out the command to make your robot turn 90 degrees.
Generalize the wait time in your command to define a function called degreeTurn(degrees).


Each time it is called, it should make the robot turn the specified number of degrees. Do this
in a similar way to your Travel program.

 

Turn the program in to EETT2 - Pereira - AI 201x - Finch assignments as degreeyourname.

Add the function to your library module.

 

 

Write a Reflection on what you have learned.