Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Correct Sentence by wbl4126
def correct_sentence(text: str) -> str:
return text[0].upper() + text[1:] + '.' * (text[-1] != '.')
March 9, 2020