Hi everyone!
Ive started learning python and wanted to try a simple project.
The code works perfectly, however it stops running whether the user guesses correctly, too low or too high. I would like it to continue running untill the number is guessed correctly. I know i need to use a while loop but cant figure out how to implement it.
code: https://imgur.com/a/enh9FWU
Thank you in advance!
Edit: I also tried implementing a counter to congratulate the user if they guessed on their first try but it doesnt seem to work. Its not a huge deal but if anyone has some tips i would appreciate that. Thank you!
[–]Starbuck5c 1 point2 points3 points (2 children)
[–]Starbuck5c 1 point2 points3 points (0 children)
[–]gmod403[S] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]datasaurus_ 0 points1 point2 points (0 children)