Consider the following Python program: def calc1 (inp,val):…

Consider the following Python program: def calc1 (inp,val):     v = inp * 47     w = val ** v     return v + w def calc2 (inp,val):     v = inp * val     w = v + calc1(val,inp)     return v + w inp = calc2 (47,29) print (inp)Identify by name each of the local variables in the above code, also giving the specific line number where that variable first obtains a value.