This time is my code is about a random number, to be sincere it was a difficult task to me because I have to use while, for i i in range and if’s, and they doesn’t connect like in other languages I have learned. I have to keep awake to find the right way to do my script, and finally I got it!!

Take from CollegueMagazine.com

I could complete this task thanks to the following links 🙂 ;

http://www.mclibre.org/consultar/python/lecciones/python_while.html#Paso25
http://effbot.org/pyfaq/how-do-i-generate-random-numbers-in-python.htm

Here is my code

WSQ06

CC BY 4.0 WSQ06 – Pick a number by cesarisc is licensed under a Creative Commons Attribution 4.0 International License.