Python 5.4 : Exercise : Loop
We will continue with the exercises and here we will make a loop that will allow to ask a ... number to the user, until the user enters the magic number we exit the loop, here I ... invite you to do. A while loop for this exercise and we come back in a few minutes the correction I let you do the exercise you ... even good concerning the correction, we will make a while loop at this level until the number entered by the user, is different from the magic number, two points, to put different we will put not here in front, we ask the magic number to the user like this ... and then we will check with this tabulation I launch my program, yes it's normal we have to declare the number here, out of the loop number equals 0, here it is, I run it again, you see that it works perfectly, I put two it asks me again, seven it asks again it asks again and when I enter five it comes out of the loop well that was all for this video we'll see you soon for the next video concerning the exercise of invalid entries...