How can I print userInputVariable from aFunction of class A into class B in bFunction in Python?
@staticmethod
def aFunction():
userInputVariable = input("Enter string: ")
print("This print function not should use in bFunction but print in aFunction while i call aFunction")
class B(A):
def bFunction():
#Here print userInputVariable
pass
b = B()
b.aFunction()
#Now bFunction should run and print userInputVariable```