find how many times a letter appears in a word python code example
Example: python count how many times a word appears in a string
# credit to Stack Overflow user in source link
sentence.lower().split().count(word)
# credit to Stack Overflow user in source link
sentence.lower().split().count(word)