--Originally published at Monty Python and the Blogging Tale
So I decided to take another exercise from kencourses, and it was kind of tricky, but I could complete it. The challenge was creating a code that selected a number between 1 and 100, and the user had to guess the number, no matter the number of attempts. The code gives you clues as you keep trying:
And here is the result:
Check out the code at my Github:
Kenxercises/Random.py