In the program bellow, is it possible to access method AA
by only calling method B
? Perhaps something similar to declearing variables global?
def A():
print("This is method A.")
def AA():
print("This is method AA, which is inside method A.")
def B():
print("This is method B.")
AA()
B()