Okay so i have just started coding in general and i have written this code underneath, i was just wondering if there was a shorter way or easier way of writing this. If there is please could someone write this as a easier or more readable code for me so i can revise it and learn from it, thanks.

These are two ways of breaking out of a while loop, you could do either or, but you have both. And you dont need both methods. There is also no need for continue unless you have code that you do not want to have run if that block is executed.