立即学习:https://edu.csdn.net/course/play/26676/339580?utm_source=blogtoedu 使用装饰器: @classmethod 类方法第一个参数: cls,指定类本身