I'm currently trying to make an RP game. all I need to do is break a few while loops. but a certain amount of times every time. I can't figure out how to do it.
Alternatively what you could do if u are not doing anything after the loop, you could add import sys to the top of the file and use sys.exit() which ends the program
@AllAwesome497 i also need it to break only that set of while statements. not the entire code.