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."
I could write a program to sit there and match the pattern and keep applying it as part of the URL, but I'm not willing to write that sort of program in *any* language.
The author(s) of this challenge should be taken into the streets and flogged with wet noodles. Sorry, but I do not find it acceptable to require someone to write a program to query a dynamic URL to find the "answer" to a problem. The hint says it shouldn't take more than about 300 iterations, but I'm not willing to trust it.