Question: Scope defines where variables can be accessed. What variables are within the scope of the outer2 function? def outer1(i) : j = i+1 def outer2(
Scope defines where variables can be accessed. What variables are within the scope of the outer2 function? def outer1(i) : j = i+1 def outer2( ) : k = j+1 return k j = outer2( ) return j q = 3 def
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
