74.py 1 2 3 4 5 6 7text = input("Enter A String : ") frequency = {} for char in text: frequency[char] = frequency.get(char, 0) + 1 print(frequency)