Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Correct Sentence by belokr
def correct_sentence(text: str) -> str:
"""
returns a corrected sentence which starts with a capital letter
and ends with a dot.
"""
return text[0].upper() + text[1:].rstrip(".") + "."
Nov. 29, 2018
Comments: