为什么我的类变量没有增加?我想描述存储该类实例数量的类实例。代码如下: class WeAre: _x = 0 def __init__(self): self._x += 1 @p ...2024-04-25 已阅读: n次