For this Question: You are given two numbers n1 and n2. You need to find the sum of the products of their corresponding digits. So, for a number n1= 6 and n2 = 34, you'll do (6*4)+(0*3) = 24.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>sumOfProductOfDigits()</b> that takes the integers n1 and n2 as a parameter.

To custom test the function, provide input in the following manner:
1st line will contain the number of test cases, let's say t
Then there will be t lines, each line having two numbers n1 and n2, separated by space

Constraints:
1 <= T <= 100
0 <= n1, n2 <= 10^6Return the sum of product of corresponding digits of n1 and n2.Sample Input:
2
9 0
35 6798

Sample Output:
0
67

Explanation:-
For test 2:-
(8*5) + (9*3) + (7*0) + (6*0) = 67, I have written this Solution Code: def calc(n1,n2):
    suma = 0

    while n1> 0 or n2>0:
        digit1 = n1% 10
        digit2 = n2%10
        p1=digit1*digit2
        suma = suma + p1
        n1 = n1 // 10
        n2 = n2 // 10
    return suma

t=int(input())
while t>0:
    t-=1
    li = list(map(int,input().strip().split()))
    n1 = li[0]
    n2 = li[1]

    print (calc(n1,n2))
, In this Programming Language: Python, Now tell me if this Code is compilable or not?