class A(object): pass a = A()b = A() print a.__class__ == b.__class__ == type(a) == type(b) == A
Standard input is empty
True
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!