Hi. Here is my code. This loop is supposed to exit out when it gets the correct input from the user, but it keeps on getting an infinite loop even with the correct input.
print("Enter a direction. W is up S is down A is left and D is right.")
direction_input = input().upper()
while(direction_input != 'W' or direction_input != 'A' or direction_input != 'S' or direction_input != 'D'):
print("Enter a direction. W is up S is down A is left and R is right.")
direction_input = input().upper()
Any help would be appreciated.