logo

Crowdly

Browser

Add to Chrome

Quelle affichage produit le code python suivant? D = {'pomme': 3, 'orange': 6,...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Quelle affichage produit le code python suivant?

D = {'pomme': 3, 'orange': 6, 'tomate': 2}

try:

   x = D['banane']

   print(x)

except TypeError:

   print("Error1")

except KeyError:

   print("Error2")
0%
33%
67%
0%
More questions like this

Want instant access to all verified answers on moodle.ipsa.fr?

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

Browser

Add to Chrome