Computer Science, asked by mrabhinav1289p1ajdm, 1 year ago

write a program to accept a string. convert the string to uppercase. count and output the number of double letter sequences that exist in the string.

Answers

Answered by nkcthereaper
0

Answer:

x=input('enter string=').upper()

for i in x:

   if x.count(i)>=1:

       print(i,"appears",x.count(i),'times')

Explanation:

Similar questions