player = input('do you wanna play the game').lower()
while player != 'yes' or 'no':
player = input('say yes or no')
if player == 'yes':
print('ok')
else:
quit()
in this code even when we type yes or no it doesn't respond to it and just continues the while loop i don't know what is wrong
I was expecting to when the user enters yes or no just jump to the if else statment otherwise just stuck in loop