```python class Student: _fee = 8000 @classmethod def printfee(cls): print("学费:", cls._fee) @staticmethod def printtotal(): print("总学费:", Student._fee * 2) s1 = Student() s1.printfee() s2 = Student() s2.printfee() Student.printtotal() s2.printtotal() ``` [2024-06-17 13:20:24 | AI写代码神器 | 115点数解答]