<jupyter_start><jupyter_text>Given an dictionary find the max value in a dictionary. Return the key with the max value dic ={'a':1,'b':3,'c':2}  op=b<jupyter_code>def max_dic_key(dic):
    return max(dic,key=dic.get)
dic ={'a':1,'b':3,'c':2} 
print(max_dic(dic))
def max_dic_value(dic):
    max_key=max(dic,key=dic.get)
    for k,y in dic.items():
        if k==max_key:
            return y
dic ={'a':1,'b':3,'c':2} 
print(max_dic_value(dic))<jupyter_output>3
{'fraction_non_alphanumeric': 0.18478260869565216, 'fraction_numerical': 0.021739130434782608, 'mean_word_length': 4.8354430379746836, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '667065', 'license': 'MIT', 'n_tokens_mistral': 211, 'n_tokens_neox': 209, 'n_words': 40, 'path': 'array_strings/ipynb/max_dictionary.ipynb', 'repo_name': 'PRkudupu/Algo-python', 'size': '460'}