# Write a Python program to Least Frequent Character in String # Python 3 code to demonstrate # Least Frequent Character in String# naive method   # initializing string test_str = "GeeksforGeeks"  # printing original stringprint ("The original string is : " + test_str)  # using naive method to get# Least Frequent Character in Stringall_freq = {}for i in test_str:    if i in all_freq:        all_freq[i] += 1    else:        all_freq[i] = 1res = min(all_freq, key = all_freq.get)   # printing result print ("The minimum of all characters in GeeksforGeeks is : " + str(res))