I have seen that if I write this code:
class Test:
print("inside class")
def __init__(self):
pass
Test()
I have this output: 'inside class' It is strange, is a class only a function in python? It is possible to simulate a class with a function?