am a python beginner, receeently started learning about classesand i wrote this got this little code that keeps bringing this error . please i need someone here to help debug it:
class employee():
` empcount=0`
def _init_(self,name,salary):
self.name=name
self.salary=salary
employee.empcount=+1
def displaycount(self):
print 'Total employee: %d' %employee.empcount
def displayemployee(self):
print 'Name:',self.name,'salary:',self.salary
#########################################################
#main program
emp1n=raw_input('enter name of employee1:')
emp2n=raw_input('enter name of employee2:')
emp1s=input('enter salary of employee1:')
emp1n=input('enter salary of employee2:')
emp1=employee(emp1n,emp1s)
emp2=employee(emp2n,emp2s)
emp1.displayemployee()
emp2.displayepmloyee()
print 'total employees:',employee.empcount