Manipulating strings question, getting OK output but not triggering pass

I’m trying to figure out what I’m doing wrong and what I can do to trigger the flag here. As far as I can see I’ve got the right output, and that’s all that should matter for this test.
Thanks guys.

Hey @CameronKruger, welcome to the Next Tech community!

Would you mind posting the share URL for your project?

Yes, here it is. Thanks Saul. :smile:

@saul it looks like I put this in the wrong section! It is Beginning Python, not Introduction to Python. Sorry bout that.

@CameronKruger no worries! I went ahead and moved that to the correct course.

It looks like this is caused by a typo in your program: you have “occurences” instead of “occurrences”. Once you make that change, your code will pass!

Let me know if there’s anything else we can help you with :slight_smile:

:man_facepalming: Hahaha, oh wow, thank you Saul. It worked. Solved!

1 Like