class Student(object):
count = 0
def __init__(self, name):
self.name = name
Student.count += 1
self.count = Student.count
Sign in to make a reply
B O O M!
class Student(object):
count = 0
def __init__(self, name):
self.name = name
Student.count += 1
self.count = Student.count