✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
¿Qué imprime el siguiente código?
def obtener_sueldo(elemento): return elemento[1]
empleados = [("Ana", 5000), ("Luis", 7000), ("Juan", 6000)]empleados_ordenados = sorted(empleados, key=obtener_sueldo, reverse=True)print(empleados_ordenados)