Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Explicit Selfies solution in Uncategorized category for I Love Python! by terryyin
def i_love_python():
"""
Because I love explicit...
(Just googled 'explicit stuff', and then I was suggested 'explicit selfies'...
Guess I learn some English everyday. But back to the topic...)
I love Python more than Ruby and Javascript mostly because "Explicit is better
than implicit."
In Python it's easier to know what is from where, you need to explicitly do
everything within the namespace (unless you import *). Therefore there's less
magic.
And I know it sounds ridiculous to Ruby people.
"""
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!"
Aug. 20, 2014
Comments: