Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for I Love Python! by B_dur
def i_love_python():
"""
Let's explain why do we love Python.
"""
return "I love "+"".join([c[0] for c in 'Powerful, Youthful, Trustful, Helpful, Optimal, Nonlethal programming language !'.split() if c.istitle() or c=='!']).title()
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
April 21, 2020
Comments: