Computer Science, asked by python24, 8 months ago

write a program to count total number of character in an input string​

Answers

Answered by PSN03
6

______CODE_________________

st=input('please enter the string:')

count=0

for i in st:

   if 64<ord(i)< 91 or 96<ord(i)<122:

       count=count+1

print(count)

_____________________________

Hope this helps      

Similar questions