PythonChallenge - an Amusing Way to Explore Python
thesamet writes "The Python Challenge is a
set of riddles that require a little bit of
Python programming to be solved. The purpose of the riddles is to
provide an entertaining way to explore the Python programming language.
The challenge was started late in April this year and it is starting to gain
popularity in the Python community. What people love most about the
challenge is that it makes them poke in Python's module library and
discover new things. It truly demonstrates the great power of Python's included 'batteries.'
The riddles are designed to be solvable by Python beginners, but yet
are challenging even to experienced Python programmers. The first
few riddles are very easy, but it gradually becomes more and more
challenging. Many people reported that playing the challenge is highly
addictive and it is great fun.
The site also features discussion forums where users can ask for hints.
Additionally, after solving a riddle, its solution is available in a
wiki form."
Here.
"Total destruction the only solution" - Bob Marley
python is ugly and unreadable.
You must be a very good computer scientist to reject a language because it has a style guide that's enforced - and to have a strong opinion about a language that you obviously don't know. Wow.
My recommendation to you is to spend 10 minutes reading this tutorial and playing with the language, then to spend couple of minutes browsing through the documentation.
Then when you have a quick scripting project you decide to undertake - build a solution in Perl, but take a couple of extra minutes to also try it in Python. You'll probably love it - once trying Python I never looked back to Perl.
If you're interested in exploring Ruby in a similar way check out RubyQuiz.
From the FAQ:
<snip>
Where did you get the idea from?
I was inspired while I was playing notpron. It just occured to me that the same style of riddles can serve as a way to discover Python.
<snip>