s = 'Python is an interpreted high-level general-purpose programming language.'
Dict=dict()
for ch in s:
if ch not in Dict:
Dict[ch] = 1
else:
Dict[ch] = Dict[ch] + 1
for key, val in Dict.items():
print(key, '*' * val)
'''
run:
P *
y *
t ***
h ***
o ***
n ******
*******
i ****
s **
a *****
e *********
r ******
p ****
d *
g ******
- **
l ****
v *
u **
m **
. *
'''