Question: For each variable name indicated the in the module shown below indicate whether it is a global name or whether it is local in f(

For each variable name indicated the in the module shown below indicate whether it is a global name or whether it is local in f( y) or local in g( y ) def fy #1 x is return g (x) def g y global x return x * y #2 y is x 0 res-f (x) In #1 x is local to fo In #2 y is local to g0 In #1 x is undefined In #2 y is global
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
