Hi.
I am programing an RPG and I have run into a simple yet strange problem (At least to me)
When the user is asked to wake up or not, I used this code:
However, the else just repeats "You cannot do that currently" infinitly....
A little help please?
I am programing an RPG and I have run into a simple yet strange problem (At least to me)
When the user is asked to wake up or not, I used this code:
1 2 3 4 5 6 7 8 9 |
wake = False while wake = = False : if actionWake1 = = "Wake" or actionWake1 = = "wake" or actionWake1 = = "WAKE" : print ( "Your eyes flutter as they slowly open to see a bright light....." ) break else : print ( "You cannot do that currently" ) wake = False |
A little help please?