0
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 Answer
+ 1
Right, if condition was unnecessary. Thanks!