2 ответов
+ 1
a is a character. syllable is a sound. 'cheat' is one syllable. 'cheatING' has two syllables.
try going over the strings tutorial in solo learn.
if that doesn't help, see if this does.
https://stackoverflow.com/questions/1155617/count-occurrence-of-a-character-in-a-string
+ 2
ok thank you