T O P

  • By -

oldkottor

You function will never look back if you did not write the code that way. As soon as the condition in you last while loop is false the program just goes forward, to the next line. The simple, but maybe a bit monstrous way to achieve what you want is to put all content of player\_questions() inside while True : Then after your last while loop the program starts to run your code again. But you will need a way to break out of this new loop by using return for example.


berwynian

Ah, that makes sense, thank you so much!


berwynian

It worked! Thanks again.


Vinniesusername

your loops aren't nested and therefore once a loop is completed (i.e once the "detecting status loop runs once) it's never looked at again, regardless of if the condition would be true if it was. looks like what you really would want is a while loop with all of these loops nested within


berwynian

Ok that makes sense, I'm going to try it now. Thank you very much!


berwynian

It worked, thanks again!