Slashdot Mirror


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."

1 of 43 comments (clear)

  1. 4) follow the chain by Anonymous Coward · · Score: -1, Redundant
    The creators of this 'challenge' are on crack or something.

    and the next nothing is 92512
    and the next nothing is 64505
    Your hands are getting tired and the next nothing is 50010

    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.