+ 2
Please who knows how this code works?
Python dictionaries https://code.sololearn.com/c7Zp6ia1i0Z2/?ref=app
4 Réponses
+ 1
First this code select value with key=3 (value=5).
On the second you try to select value with nonexistent key=5 and get an error
+ 1
Thank you
0
Igor Kostrikin How did I select a value with non existent key 5