This is exactly right. But remember in the future to be on the lookout for functions like string.count() which would let you compress lines 37-41 into a single line. This is Python! It does everything for you!