fork download
  1. class Person:
  2. @staticmethod
  3. def hello():
  4. print('Hello!')
  5.  
  6. print(id(Person.hello))
  7. print(id(Person().hello))
Success #stdin #stdout 0.01s 28384KB
stdin
Standard input is empty
stdout
47914624982008
47914624982008