avatar Bite 234. Capitalize sentences

In this Bite you are going to capitalize sentences in a block of lowercased text.

Correct grammar dictates that each sentence should start with a capital letter, so complete capitalize_sentences to do just that.

To make this a bit harder we have sentences ending with dot (.), question mark (?) and exclamation mark (!)

Have fun and code more Python!

Login and get coding
go back Intermediate level
Bitecoin 3X

110 out of 113 users completed this Bite.
Will you be Pythonista #111 to crack this Bite?
Resolution time: ~47 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 3.86 on a 1-10 difficulty scale.
» You can do it! 😌

We use Python 3.8