# Python Program to Find the Total Sum of a Nested List Using Recursion def sum1(lst):    total = 0    for element in lst:        if (type(element) == type([])):            total = total + sum1(element)        else:            total = total + element    return totalprint( "Sum is:",sum1([[1,2],[3,4]]))