[Tutor] How to get Key from multiple value dictionary search
Fosiul Alam
fosiul at gmail.com
Wed Jan 6 15:32:28 EST 2016
Hi All,
I refer to this website
https://www.codecademy.com/forum_questions/50721fce7c7091000201e56a
dic = {'key1': ["value1", "value2"],
'key2': ["value77", "something"] }
what I wanted to learn is :
a) how do i get the key only by providing value i.e value77 ?
b) Please help to break the code(instead of one liner) so that i can
understand properly
Thanks.
More information about the Tutor
mailing list