Excited Strings
[email protected] // 1.0 // type-checkable
Let's call a string excited if it contains more exclamation points than periods.
For example, "Great work!" is excited but "I see. OK!" is not.
Write a function called excited
that takes one str
and returns whether that string is excited.