I actually got a error while performing this type of operation
class atm:
def fun1(self):
print("func1 has been called")
def fun2(self):
print("func2 has been called")
fun1()
q=atm()
q.fun2()
I actually got a error while performing this type of operation
class atm:
def fun1(self):
print("func1 has been called")
def fun2(self):
print("func2 has been called")
fun1()
q=atm()
q.fun2()