class Test_class(object):
"""docstring for test_class"""
__total = 15
def __init__(self, arg):
self.name = arg
exemplyar = Test_class("Бобик")
exemplyar.total = 10
print(exemplyar.total)
Y2xhc3MgVGVzdF9jbGFzcyhvYmplY3QpOgoJIiIiZG9jc3RyaW5nIGZvciB0ZXN0X2NsYXNzIiIiCglfX3RvdGFsID0gMTUKCWRlZiBfX2luaXRfXyhzZWxmLCBhcmcpOgoJCXNlbGYubmFtZSA9IGFyZwoKZXhlbXBseWFyID0gVGVzdF9jbGFzcygi0JHQvtCx0LjQuiIpCgpleGVtcGx5YXIudG90YWwgPSAxMApwcmludChleGVtcGx5YXIudG90YWwpCg==