Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
empty-string-safe solution in Clear category for Correct Sentence by flpo
def correct_sentence(text: str) -> str:
return text[:1].upper() + text[1:] + '.' * (not text.endswith('.'))
Feb. 22, 2018