I am a Web designer but i am learning python. I am reading a tutorial and I came to the guess the number seciton could some1 answer me 2 questions about the game code:
How do i get a random Number to be generated?
How do i get the game to end after 20 guesses?
Here is my code thus far:
number =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.