Discuss / Python / 调试通过

调试通过

Topic source

class Student(object):

    count = 0

    def __init__(self, name):

        self.name = name

        Student.count=Student.count+1


  • 1

Reply