m = {}
def __init__(self, s, n):
self.m[s] = n
def show(self):
print(self.m)
p1 = people('年齡', 1)
p2 = people('年齡', 2)
p1.show()
p2.show()
>>>
{'年齡': 2}