Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def dict_max_oneliner(dico):
- return {keys: dico[keys] for keys in dico.keys() if dico[keys] == max(values for values in dico.values())}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement