Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
native_correct_sequence solution in Uncategorized category for Correct Sentence by Jon_Red
def correct_sentence(t:str)->str:
''' Returns a corrected sentence which starts with a capital letter and
and ends with a dot. '''
return t[0].upper()+t[1:]+('.'if t[-1]!='.'else'')
April 20, 2020