logo

Crowdly

Browser

Add to Chrome

¿Qué imprime el siguiente código? def obtener_sueldo(elemento):     return e...

✅ 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)

More questions like this

Want instant access to all verified answers on educacionadistancia.juntadeandalucia.es?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome