A little trick is that Python treats boolean as 0/1 when it think so ... solution in Clear category for Correct Sentence by ArchTauruS
"""Job to do...
1, make the first character uppercased.
2, make sure the sentence ends with a dot.
A little trick is that Python treats boolean as 0/1 when it think so ...
return text.upper() + text[1:] + '.' * (not text.endswith('.'))
Nov. 8, 2018