Looping with Edward
Learn about loops and their applications.
We'll cover the following
So far, our friend Edward has been moving one step at a time using the move()
function. But in his vast spaceship, Edward has to walk long distances. Often, Edward does not know how many steps he has to take. The only point where Edward should stop is if the path ahead is blocked.
Get hands-on with 1400+ tech skills courses.