Python Program to Print Histogram of Frequencies of Characters in String
msg='Hello, Welcome to Webeduclick'
msg=msg.lower()
Dict=dict()
for word in msg:
if word not in Dict:
Dict[word]=1
else:
Dict[word]=Dict[word]+1
print(Dict)
for key, val in Dict.items():
print(key, '\t', '*' *val)
Output: