breaking while loops
KianAlford (7)

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.

You are viewing a single comment. View All
AllAwesome497 (337)

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

KianAlford (7)

@AllAwesome497 i also need it to break only that set of while statements. not the entire code.