def listar_estado(self): """Lista estudiantes por estado. Activo o Inactivo""" opcion = Util.input_opcion_r("Estado ", ("activo", "inactivo")) if opcion == 'activo': self.listar_datos(basededatos.total_estudiantes, opcion) if opcion == 'inactivo': self.listar_datos(basededatos.total_estudiantes, opcion)
def listar_tipo(self): """Lista estudiantes por tipo. Privado o de la UNA""" opcion = Util.input_opcion_r("CON Descuento: CD, SIN Descuento: SD", ("CD", "SD")) self.listar_datos(basededatos.total_estudiantes, opcion)