class Test: value = [] a = Test() b = Test() a.value.append(10) print(a.value) # なぜかbの配列にも入る print(b.value)