Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Correct Sentence by erewhon
def correct_sentence(text: str) -> str:
first_word = text[0]
remaining_word = text[1:]
sentence=first_word.upper() + remaining_word
if "." in text[-1]:
return(sentence)
return(sentence + ".")
Oct. 9, 2019
Comments: