Hi,

Today , I’m explaining you how validate an user input in Python.

We can focus on the WSQ06.

The user has to find the good number provides by the random function.

If the input is less, it’s indicated. The same case happened if the input is above.

The loop finish itself only if the number is found.

Have a good day !

 

CC BY 4.0 MASTERY 29 by aureliemartinette is licensed under a Creative Commons Attribution 4.0 International License.