Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Creative category for Correct Sentence by Stepan__Timetsky
def correct_sentence(text: str) -> str:
if text[-1] == '.':
return text[0].upper() + text[1:]
return text[0].upper() + text[1:] + "."
Feb. 23, 2019