Discuss / Python / 测试成功

测试成功

Topic source

筱枫_Edward

#1 Created at ... [Delete] [Delete and Lock User]

Student.count = Student.count + 1

筱枫_Edward

#2 Created at ... [Delete] [Delete and Lock User]

前面留言说的到底用 Student.count 和 self.count 分析得很棒。根据实际有效的结果(Student.count)来看,可以更好地理解和区分类和实例,python很有趣。


  • 1

Reply