ВЩ
Size: a a a
ВЩ
ВЩ
И
ВЩ
И
D
И
И
D
ВЩ
class Box:Но
def __init__(self, initial):
self.value = initial
def __repr__(self):
return "Box({0!r})".format(self.value)
def increment(val):
val.value += 1
counter = Box(0)
increment(counter)
print(counter)
И
ВЩ
ВЩ
Box взять словарь/список).И
И
ВЩ
ВЩ
ВЩ
AG
ВЩ