weatherType = raw_input('Enter a weather type: ')
while (weatherType != "WINDDIRECTION") or (weatherType != "WINDSPEED") or (weatherType != "AIRTEMPERATURE") or (weatherType != "WAVEHEIGHT") or (weatherType != "AIRPRESSURE"):
print "Sorry, invalid input. Please enter AIRTEMPERATURE, AIRPRESSURE, WAVEHEIGHT, WINDSPEED, or WINDDIRECTION for a city and either WINDDIRECTION, WINDSPEED, or AIRTEMPERATURE for an off shore bouy"
weatherType = raw_input('Enter a weather type: ')
Okay so with this loop, I am trying to get the user to input either WINDDIRECTION, WINDSPEED, AIRTEMPERATURE, WAVEHEIGHT, or AIRPRESSURE. However, even if the user types in 1 of these 5 options my code will still enter the while loop. I don't know what is going on.
I know I can use a for loop (for x in ["WINDDIRECTION", ....]) however a for loop will only work to see if their input is right the first time and if they type in a wrong answer again the code will continue