How can i write a python program that shows the number of appearance of each letter in a string collected from user? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How can i write a python program that shows the number of appearance of each letter in a string collected from user?

Python

22nd Nov 2019, 12:15 PM
Rilwanu Sulaiman
Rilwanu Sulaiman - avatar
2 Respostas
+ 2
Dear programmer, Python has a built - in function of counting letters in a string. Use: your_string.count (letter)
22nd Nov 2019, 7:38 PM
Rustam
Rustam - avatar
0
Thank you Rustam
24th Nov 2019, 8:50 PM
Rilwanu Sulaiman
Rilwanu Sulaiman - avatar