I am trying to do something that looks something like this:
class Foo:
def __init__(self, x, y):
print(x + y)
a = Foo(10,20)
b = a.CLASSTYPE(20,30)
(Note: I know that there is nothing such as CLASSTYPE)
Is something like this possible? And if it is, how could I implement it in python. Anything would be greatly appreciated, thanks!