0

Hello there,

I've a homework assignment from a while ago that asks**"Implement a recursive Python function which returns the sum of the first n integers"**

Now i just dont know exactly what it's asking and how to get started.

Recursive functions, right (my thoughts so far is it'll look something like )

`def sum(n,amount):`

and then i get stumped, i have worked with some so it usually continues with if (statement) == Integer etc.

But for this i seem to need to ask what the n integers are, then ask how many they want to add.

It's confused me, as my text wall probably has to you :P haha

Thanks for the help in advance, (try to keep it simple for me ^^)