# Write a Python program to Odd Frequency Characters # Python3 code to demonstrate working of # Odd Frequency Characters# Using list comprehension + defaultdict()from collections import defaultdict  # helper_functiondef hlper_fnc(test_str):    cntr = defaultdict(int)    for ele in test_str:        cntr[ele] += 1    return [val for val, chr in cntr.items() if chr % 2 != 0]  # initializing stringtest_str = 'geekforgeeks is best for geeks'  # printing original stringprint("The original string is : " + str(test_str))  # Odd Frequency Characters# Using list comprehension + defaultdict()res = hlper_fnc(test_str)  # printing result print("The Odd Frequency Characters are : " + str(res))