fork download
  1. class objem(object):
  2.  
  3. def __init__(self):
  4. self.adi = None
  5.  
  6. def set_adi(self, adi):
  7. self.adi = adi
  8.  
  9. def get_adi(self):
  10. return self.adi
  11.  
  12. _objem = objem();
  13. _objem.adi = "halit"
  14. print _objem.adi
Success #stdin #stdout 0.01s 7896KB
stdin
Standard input is empty
stdout
halit