Skip to main content

Bat Loops

Objective

  • Practice, practice, practice!

For this exercise, you’ll be writing code on CodingBat. Complete any 5 of the following 12 problems about lists and strings.

As a bonus, feel free to go on and solve the rest of the problems linked to above. If you’re so inclined, you can use CodingBat as a resource for practice questions.

Tip

Some of these problems present tricky algorithm design challenges. Try and think about how the problem will be solved before thinking about how to write the code.