Jessie M.

asked • 02/09/21

Creating recursive function

Question Info:


The calculation "a" was

used for loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11 (The answer was 271)

Question To Answer:


(1) Create recursive function to do the same calculation a in the above. (The function input will be the list. Each recursion, you are going to send a sub-list with one less item from the list)

I need help doing this in python programming language. 


1 Expert Answer

By:

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.