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 Olivier_de_La_Fere
def i_love_python():
"""
1. EASY TO READ? [X] CHECK!
2. ENORMOUS STANDARD LIBRARY? [X] CHECK!
3. NAMED LIKE A STRONGEST SNAKE IN THE WORLD? [X] CHECK!
4. OBJECT ORIENTED? [X] CHECK!
5. DYNAMICALLY TYPED [X] CHECK!
6. GARBAGE COLLECTOR? [X] CHECK!
7. INTERACTIVE? [X] CHECK!
"""
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, 2017
Comments: