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:
And here it is working in the command line:
I also checked David’s blogpost which helped me a bunch, also classmate Luis Cortes helped me with a couple of code lines.
WSQ06 by chozacastro is licensed under a Creative Commons Attribution 4.0 International License.