Hi, so this WSQ was about a program that generated a random number then we have to guess it using a loop and also a counter that counted how many times do we tried it and print the number.

Here’s my code:

WSQ06

And here it is working in the command line:

WSQ06-2

I also checked David’s blogpost which helped me a bunch, also classmate Luis Cortes helped me with a couple of code lines.

CC BY 4.0 WSQ06 by chozacastro is licensed under a Creative Commons Attribution 4.0 International License.