Do a little dance...
Objective:
Write functions for 'dance moves' for your robot (refer to 'yoyo' and 'wiggle' from the Learning Computing Through Robotics) and use "while" and "for" statements to repeat the moves in various patterns to compose a 'dance' for the Scribbler.
Write functions for 'dance moves' for your robot (refer to 'yoyo' and 'wiggle' from the Learning Computing Through Robotics) and use "while" and "for" statements to repeat the moves in various patterns to compose a 'dance' for the Scribbler.
Do this first...
Write two or three functions to be 'dance moves' for your Scribbler (like 'yoyo' and 'wiggle'). Define them in the Shell and make sure they are saved to the desktop. Remember the names of your 'dance moves'; you'll need them in a minute.
Download and read the following file on how to create looping statements with Python.
|
Deliverable
|