为什么需要property?想象一个场景:你有一个Student类,有一个score属性,用于存储学生的分数,你希望分数必须在0到100之间,没有property的写法(不推荐):classStudent:def...