I didn’t look at the hint, I automatically did this:
def count_multi_char_x(word, x):
return word.count(x)
Which is exactly the same as my answer to exercise 3, and it worked.
Then i noticed the question about split() below, and looked at the hint.
Can someone explain why you would use split() and not just count the amount of times ‘x’ is in the word?