Question 11
Consider the below python code.
def process_array(arr):
total = 0
for i, row in enumerate(arr):
total += row[i]
return total
array = []
for i in range(5):
row = []
for j in range(i + 1):
row.append((i + 1) * (j + 1))
array.append(row)
print(process_array(array))
What will be the output of the given code?