Answer No : 13 :
test_str=input("Enter any string")
freq={}
for i in test_str:
    if i in freq:
        freq[i]+=1
    else:
        freq[i]=1
print("Count of all character in:", test_str , "is:\n "+str(freq))
Output:
Enter any stringhello how are you
Count of all character in: hello how are you is:
{'h': 2, 'e': 2, 'l': 2, 'o': 3, ' ': 3, 'w': 1, 'a': 1, 'r': 1, 'y': 1, 'u': 1}