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 nathan.l.cook
def i_love_python():
"""
Let's explain why do we love Python.
Well, I don't think I'm in love, yet, but I do find the community has
built an excellent support system for those (like me) learning the
language. That makes it easy to find answers to questions.
I haven't found a practical use, yet (my work doesn't lend itself to it
and I haven't thought of a hack for anything I need at home), but it's
fun to learn new things, and Python makes learning fun.
"""
return "I love Python!"
if __name__ == '__main__':
#These "asserts" using only for self-checking and not necessary for auto-testing
assert i_love_python() == "I love Python!"
Sept. 27, 2014