# -*- coding: utf-8 -*-
"""
Created on Tue Oct 15 15:42:43 2019

@author: leooe
"""
mydict = {567:'Leo', 789:'Tony'}
print(list(mydict.keys())[list(mydict.values()).index('Le')])

2b01588d174fecd0d994623df0434961f9889f5f
<mask token>

<mask token>
print(list(mydict.keys())[list(mydict.values()).index('Le')])

<mask token>
mydict = {(567): 'Leo', (789): 'Tony'}
print(list(mydict.keys())[list(mydict.values()).index('Le')])

# -*- coding: utf-8 -*-
"""
Created on Tue Oct 15 15:42:43 2019

@author: leooe
"""
mydict = {567:'Leo', 789:'Tony'}
print(list(mydict.keys())[list(mydict.values()).index('Le')])
