+ 3

How write to code in python if the sentence are in word and count how many same letters in the sentence?

problem solving

17th Jan 2018, 8:26 AM
Jun Alcain
Jun Alcain - avatar
2 Respostas
+ 3
U can iterate over the sentence and store it in a list and next Loop over the list and store the letters u iterate over in a new list within the loop and keep checking for same letters with if statement and update the counter.
17th Jan 2018, 2:24 PM
Sanchit Pandey
Sanchit Pandey - avatar
+ 2
more help
22nd Jan 2018, 8:58 AM
Jun Alcain
Jun Alcain - avatar