Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Uncategorized category for I Love Python! by smilicic
def i_love_python():
"""
I must say I am still learning The Pythonic Way. I started
using Python intermittently about a decade ago. Yet, I didn't
dedicate time to proper learning - it kept became just a
likeable yet strange tool in my general toolbox, and I kept
using it as C with a weird syntax.
Then, a couple of years ago I was given to teach a course on
computer aided mathematics, and - being a free software
enthusiast - I chose Sage (I could have chosen maxima, but
this seemed a better option). Only after that choice I found
out some of the better niceties of Python. I kept writing it
as if it were C; still, it was becoming ever more enjoyable.
Three years ago I started working on an ethical banking
project and with time we saw that we need to write our own
core banking software that would be compatible with our
banking model and is free (as in speech). We needed to pick
the programming language, and I was sure that Python is the
right option - legibility and maintainability combined with
the possibility for the best programmers to really express
their minds.
After making that choice, I asked a friend - a genius
programmer quite popular here - to join and be the lead
programmer. He insisted that we use Python even before I told
him that Python was the default choice. At one meeting I asked
him what is his checkio shirt all about - I didn't know about
checkio at the time. He showed me this site and I joined that
day.
Progressing through checkio I've started changing my style,
losing much of my C-like subatomic writing and developing a
more Pythonic way. Checkio helped me start aligning my
thinking and my knowledge of Python.
Now, I can safely say that I love Python because it's the best
language I've tried for expressing exact mathematical thoughts
without much bureaucracy.
"""
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. 10, 2014