Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def summation_recursion(submit_list, output):
- given_list = submit_list
- if len(given_list) > 0:
- output += given_list.pop()
- summation_recursion(given_list, output)
- else:
- return output
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement