Answers for "python dict get element by value"

0

how to get the value of key in python

print(dict.get("key"))
Posted by: Guest on May-17-2020
-3

find key by value python

print(list(d.keys())[list(d.values()).index(990)])
Posted by: Guest on May-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language