Let’s build a calculator! This calculator is a bit special because it will accept a whole list of numbers at once. Like any good calculator, your calculator will be able to add and subtract numbers. But your calculator will do more! In this project, you’ll give your calculator the ability to:
- Filter numbers out of the list
- Transform each number in the list to a new number
These methods that you’ll give to your calculator also exist in the Swift standard library! By implementing them yourself in this project, you’ll learn more about how they work.