Convert a raw input string into a clean, human-friendly message with proper formatting.
Constraints
Example
>>> format_message(" hello world ")
'Hello world.'
>>> format_message("already good.")
'Already good.'
>>> format_message(" ")
'.'
Recent Submissions
No submissions yet — hit Run Tests to try!
Hints