Oct-21-2021, 04:49 PM
You need to get the users input and check if the input is correct inside of the while loop and only break from the loop when it is correct.
Ask again if wrong guess with While.
|
|
Messages In This Thread |
Ask again if wrong guess with While. - by EduPy - Oct-21-2021, 04:43 PM
RE: Ask again if wrong guess with While. - by Yoriz - Oct-21-2021, 04:49 PM
RE: Ask again if wrong guess with While. - by EduPy - Oct-21-2021, 07:10 PM
RE: Ask again if wrong guess with While. - by Yoriz - Oct-21-2021, 07:25 PM
RE: Ask again if wrong guess with While. - by menator01 - Oct-21-2021, 07:46 PM
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Guess the word game help | jackthechampion | 2 | 5,005 |
Sep-06-2023, 06:51 AM Last Post: Pedroski55 |
|
Am I wrong or is Udemy wrong? String Slicing! | Mavoz | 3 | 5,318 |
Nov-05-2022, 11:33 AM Last Post: Mavoz |
|
I guess it's about print | tsavoSG | 2 | 3,003 |
Feb-08-2021, 08:34 PM Last Post: steve_shambles |
|
python gives wrong string length and wrong character | thienson30 | 2 | 4,111 |
Oct-15-2019, 08:54 PM Last Post: Gribouillis |
|
can't figure out problem with number guess | Galoxys | 4 | 4,360 |
Oct-29-2018, 01:45 PM Last Post: snippsat |
|
Guess a number | Ameen | 5 | 16,506 |
Apr-03-2018, 01:20 PM Last Post: snippsat |
|
Guess Random Number Why i m not able to enter input | Nithya Thiyagarajan | 6 | 9,986 |
Jan-07-2018, 04:26 AM Last Post: squenson |
|
"Guess the Number" game | CTT | 14 | 16,558 |
Jul-26-2017, 11:41 AM Last Post: sylas |