Exercise

Solve a problem using pattern matching.

We'll cover the following

Try to solve a similar problem that involves finding the sum of a list of numbers.

Task

Assume you have a list of odd numbers from 1 to 99. You have to find the sum of the list.

If you’re unsure how to do this, click the “Show Hint” button.

Get hands-on with 1400+ tech skills courses.