The calculation a was used for the loop to calculate the sum of squares of values in
Fantastic news! We've Found the answer you've been seeking!
Question:
The calculation "a" was used for the loop to calculate the sum of squares of values in this list: 1, 7, 8, 6, 11 (The answer was 271)
Create a recursive function to do the same calculation as 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)
Do it in the python programming language.
Related Book For
Posted Date: