#count ht number.py
def number(s):
#please input the string ,this function will out the number of lettter')
a=0
b=0
c=(len(s)-1)
for i in range(c):
char1=s[i]#notice the (i-1) probably is -1 !
for n in range((i-1)):
while char1!=s[n] and b<=c:
if char==s[b]:
a=a+1
b=n+1
print(char+'has '+str(a))
print()
print()
def number(s):
#please input the string ,this function will out the number of lettter')
a=0
b=0
c=(len(s)-1)
for i in range(c):
char1=s[i]#notice the (i-1) probably is -1 !
for n in range((i-1)):
while char1!=s[n] and b<=c:
if char==s[b]:
a=a+1
b=n+1
print(char+'has '+str(a))
print()
print()