t144.py 119 B

123456
  1. class C:
  2. def __init__(self, data):
  3. self.data = data
  4. def pr(self):
  5. print self.data
  6. C("OK").pr()