fork(1) download
  1. class Test_class(object):
  2. """docstring for test_class"""
  3. __total = 15
  4. def __init__(self, arg):
  5. self.name = arg
  6.  
  7. exemplyar = Test_class("Бобик")
  8.  
  9. exemplyar.total = 10
  10. print(exemplyar.total)
  11.  
Success #stdin #stdout 0.02s 9936KB
stdin
Standard input is empty
stdout
10