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
PriyanshiBhardw (0)

You try using a flag variable(like concept ) like just make it true whenever you want to break a loop and that flag variable gets checked for each iteration. I think it might help.

KianAlford (7)

@PriyanshiBhardw i will try. ill try anything anymore XD

PriyanshiBhardw (0)

@KianAlford look I am not familiar with python.can you just brief me a little more about your problem in general way.I might give you another suggestion also.