Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Correct Sentence by jorge75
def correct_sentence(text: str) -> str:
if text[-1]==".":
correcto=(str.upper(text[0:1])+text[1:len(text)])
else:
correcto=(str.upper(text[0:1])+text[1:len(text)]+".")
return(correcto)
April 4, 2020
Comments: