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.

https://repl.it/@KianAlford/RPG-adventure-1

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

@KianAlford maybe add a if statement to all of them that breaks it if a certain codition is met?:
Ex:

if dead:
    break

that may work.