LESSON 4
SPEEDING THROUGH THE SQUARE
PTERODACTYL
OR
NO TEETH
speed =
distance
SPEEDY HOPPER
How far does Hopper fly at different percentages of power?
time
SPEEDY HOPPER CHALLENGE
4FT
% power
seconds
PERFECT SQUARE
Code Hopper to fly a perfect square.
Debugging
Remember: Debugging = problem-solving!
PERFECT SQUARE CHALLENGE
X5
INTRODUCING LOOPS
Sample Loop Commands
LOOPING PERFECT
S
CHALLENGE YOURSELF
After you successfully test your code, add a second loop to make your program as short and efficient as possible.
X5
DISCUSSION