what does pokemon_map.get(5) returns if the key is found
Regarding get() in Dictionary
Hey @mdhivagar09, pokeman_map.get(5) returns the value for the key “5” if the key is found. otherwise it will return None but do not produce Key error.
Hope this resolved your doubt.
Plz mark it as resolved in my doubts section.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.