SelfCount/s02210059 | SelfCount/Aleksyav | ||||
---|---|---|---|---|---|
t | 1 | class WeAre(): | t | 1 | class WeAre: |
2 | count = 0 | 2 | count = 0 | ||
3 | 3 | ||||
4 | def __init__(self): | 4 | def __init__(self): | ||
5 | WeAre.count += 1 | 5 | WeAre.count += 1 | ||
6 | 6 | ||||
7 | def __del__(self): | 7 | def __del__(self): | ||
8 | WeAre.count -= 1 | 8 | WeAre.count -= 1 | ||
9 | 9 |
Legends | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
|