TASK 1

Sum of Integers

Rory has been out shopping, but his shopping list does not display the total, instead it just tells him how much each item cost.

He needs you to create a function which will add together all the individual integers, and return the total

Some of Rory's purchases were actually refunds, so make sure your code works on negative numbers!

Good Luck!

Well done!

You have completed all of the tasks.

Return home or take a look at the tutorials

Something isn't quite right...

Close this message and have another go!

GUIDE

This guide is intended to help with syntax. See the prelude section for pre-defined functions and variables. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!

PRELUDE

The prelude is all the pre-defined functions and variables available to use. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!