forgive my sytax, its been a while since ive used python (so im not sure if its correct). The way you have it setup is an infinite loop, because restart is always going to be equal to "Y" inside the loop, because you never give the user a chance to change it. So you need to give them the ability to do so, or a way to break out
so like
Code:
position()
restart = raw_input("\n\nTry again ? Y / N: ")
while restart == "Y":
position()
retstart = raw_inputraw_input("\n\nTry again ? Y / N: ")
or
Code:
while True:
position()
restart = raw_input("\n\nTry again ? Y / N: ")
if restart != "Y":
break;
Last edited by Alobar; 07-19-2014 at 01:09 PM.