* python阻止不了我干坏事,全靠我自觉,全看我心情好不好 * class Student 中 添加__就变成了私有变量,外面访问不了 * 其实那是不可能了,只不过变了个名字 .Student.__score,还是得看我的心情 嘿嘿
._Student.__score
Sign in to make a reply
用户5289068359