为什么这种方式不能使用 class 属性? 为什么不能以这种方式使用类attr class A: a = 1 d = [1, 2, 3, 4] e = [i for i in d if i == a] prin ...2024-06-16 已阅读: n次