class student: studentcount=0 def __init__(self,name,age): self.name=name self.age=age student.studentcount+=1 def displaystudent(self): print("Name :",self.name,", Age :",self.age) #This will create first object of employee class stud1=Student("Humairah",19) #This will create second object of employee class stud2=Student("Hiral",18) #This will display first object of employee class stud1.displaystudent() #This will display second object of employee class stud2.displaystudent() print("Total Student %d"%student.studentcount)