Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
Dictionary get() method
The default value is not returned when key is unavailable in dictionary. For example, if the input is Popcorn, 5 should returned Can someone help? https://code.sololearn.com/cdf0z0qF6yz4/?ref=app
1 Antwort
+ 1
Right, if condition was unnecessary. Thanks!