So basically when a user enters 'n' I need it to stop and not ask to enter either y or n, but I can't seem to make it occur, any help?
decider = input('Would you like to play the game? [y/n]? ')
while decider != 'y' :
if decider == 'n' :
print('Another time perhaps')
else :
print('Please enter either \'y\' or \'n\' ')
decider = input('Would you like to play the game? [y/n]? ')
Also I understand you can use exit or break but in my exercise that is NOT allowed