<jupyter_start><jupyter_text>Python Example for alogorithm test 🦉---  Check the value is the same from map---- create empty list [] append each unique value ans check again- use sorted and join as well.<jupyter_code>group_map = []
input_1 = "ate"
input_2 = "tae"

if input_1 not in my_map:
    _tem_str = ""
    my_map.append(_tem_str.join(sorted(input_1)))
    print(my_map)

if input_1 not in my_map:
    print(my_map)
    
if input_2 not in my_map:
    _tem_str = ""
    my_map.append(_tem_str.join(sorted(input_2)))
    print(my_map)



my_str =""
my_str.join(sorted(input_1))
unique_map = {"ate": 0}
input_str = "ate"
if input_str not in unique_map:
    print("hi")
my_map = {}
my_map["key_1"] = ["eat"]
print(my_map)
my_map["key_1"] = my_map["key_1"] + ["eat"]
print(my_map)


my_list_list = my_map.values()
my_list_list<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1378504672897196, 'fraction_numerical': 0.014018691588785047, 'mean_word_length': 4.424050632911392, 'pattern_counts': {'":': 1, '<': 5, '<?xml version=': 0, '>': 5, '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': '662137', 'license': 'MIT', 'n_tokens_mistral': 358, 'n_tokens_neox': 347, 'n_words': 80, 'path': 'JupyterNotebook.ipynb', 'repo_name': 'wolfmib/ja_leedcode', 'size': '856'}