So i was using a tracer to trace this program
1 def g(x): 2 y = 10 3 y = 2 4 return y + x 5 6 def f(): 7 y = 1 8 return g(y