Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Substrings with one line if-else solution in Clear category for Correct Sentence by ludek.reif
def correct_sentence(text: str) -> str:
return text[0].upper() + text[1:] + ('.' if text[-1] != '.' else '')
Sept. 18, 2019
Comments: