title: AttributeError: type object 'Student' has no attribute 'gpa'
body: <p>I am currently having a problem with this error: AttributeError: type object 'Student' has no attribute 'gpa'</p>
  
  <p>When I try to run the following program. </p>
  
  <pre><code>class people(object):
      def __init__(self,name,ID):
          self.name=name
          self.ID=ID
  
  class Student(people):
      def __init__(self,name,ID,gpa):
          self.name=name
          self.ID=ID
          self.gpa=gpa
  
  Student.gpa.total.append(self.gpa)
  
  def mean_gpa():
      return sum(Student.gpa_total)/float (len(Student.gpa_total))
  
  def info_gpa(self):
      mean= self.mean_gpa()
      return mean
  def __str__(self):
      return self.info_gpa()
  
  class Employee(people):
      def __init__(self,name,ID,salary):
          people._init_(self,name,ID)`
          self.name=name
          self.ID=ID
          self.salary=salary
          self.employee=employee
          Employee.emp_total.append(self.employee)`
  
  def total_salary():
      return sum(Employee.emp_total)`
  </code></pre>
  
  <p>Any ideas what I am doing wrong? </p>