The following code is meant to calculate the sum of all numb…

The following code is meant to calculate the sum of all numbers in a list using recursion, but it contains errors. Identify the line numbers that would raise exceptions when executed.   1. def recursive_sum(nums):2.     if len(nums) == 1:3.         return None4.     else:5.         return nums[0] + recursive_sum(nums[1])6. 7. data = [5, 10, 15, 20]8. result = recursive_sum(data)9. print(“Sum:”, result)