
class Patient(object):
    
    def __init__(self, name, doctor):
        self.name = name
        self.doctor = doctor
        pass
    
    def get_doctor(self):
        return self.doctor
  
    
    def __str__(self):
        return str(self.name)
    

    
    #def __cmp__(self, other):
        #if self.name > other.name:
            #return -1
        #elif self.name == other.name:
            #return 0
        #else:
            #return 1
    
    
    #def liability():
        #return 'str'
    
    #def get_next_appointment(self, hospital_schedule):
        #my_doc = self.get_doctor()
        #next_free_slot = find_next_free(my_doc, hospital_schedule)
    
    
  
    #def method_name(self, procedure):
        #pass

#y.get_doctor()

#y.method_name()
#y.variable_name = 0


#x2.count(0)        

#self = x2
#x = 0
#print x2.[0]

#def count(self, x):
    #print self[0]

#x = {}
#x['doctor'] = 'last_name'
#y = x
#y['name'] = 'first_name'
#y['doctor']
#y = {}
#y.d