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 kenaniah
def i_love_python():
"""
Coming from a half-baked language like PHP, there's really not much to hate:
* sane import system
* generator expressions
* rich and extensive standard library
* forced indentation
* list comprehensions
* multiple inheritance
* exceptions for everything
* with statements
* excellent documentation
* multiple interpreters
* an intelligent engineering community that actually understands their language
"""
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. 4, 2014
Comments: