I have the following code:
def A():
return 2
def B():
def A():
return 3
return A()
print(B())
The result is 3 because return A() uses inner function A() of B() instead of function A(). Is it possible to call function A() (the one that return 2) inside function B()?