SyntaxFix
Write A Post
Hire A Developer
Questions
If it an issue of just counting the number of repeatition of a given character in a given string, try something like this.
word = "babulibobablingo" letter = 'b' if letter in word: print(word.count(letter))