Second Composition of Functions solution in Creative category for Correct Sentence by flpo
compose = lambda g, f: lambda x: g(f(x))
append_dot = lambda s: s.endswith('.') and s or s + '.'
first_upper = lambda s: s[:1].upper() + s[1:]
correct_sentence = compose(first_upper, append_dot)
Nov. 19, 2017