so while i was doing the 'while' example -
while choice != 'y' and choice != 'n': # correct code
i had put an 'or' instead of 'and',
while choice != 'y' or choice != 'n': # incorrect code
and got into a infinite loop that kept running in the console. i had to read it out load a couple of times to understand the difference.
question is -
how do you break out of this with out having to reload the browser window and loose the code that you have typed?