This is my implementation for the mini project "Guess the Number" from the course "An Introduction to Interactive Programming in Python (Part 1)" - https://class.coursera.org/interactivepython1-002. Please, if you are taking the course, do not copy this code. Here you can read about the Coursera Honor Code and their policies about cheating: https://www.coursera.org/about/terms/honorcode
To see this code working acess: http://www.codeskulptor.org/#user39_fUikGRKNwM_1.py