Hi! Now im going to show you my code of this game, it’s all about guessing a number between the range 1-100.

I searched in this webpages:

http://www.pythondiario.com/2013/06/modulo-random-en-python-con-ejemplos.HTML

http://www.pythondiario.com/2013/05/juego-en-python-adivina-numero.HTML

Even tough those codes are in Python2, they helped me a lot. Then I had doubts like in the syntax, so I asked Ken what was wrong with my code, and he helped me a lot, to make it shorter and easier.

He told me about using prompt = (“hello…”)

So, during the “while” I just had to write the prompt and no all the sentence

wsq06 wsq06-1

CC BY 4.0 “Pick a number” – #WSQ06 by Lourdes García is licensed under a Creative Commons Attribution 4.0 International License.