logo

Crowdly

Browser

Add to Chrome

¿Qué imprime el siguiente código? productos = {     "manzanas": 10,     "n...

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

productos = {

    "manzanas": 10,

    "naranjas": 5,

    "plátanos": 8,

    "mangos": 12

}

filtrados = [cantidad for fruta, cantidad in productos.items() if fruta]

resultado = sorted(filtrados)

print(resultado)

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