I have this function:
def abandoned_station():
print """
.....
"""
next = raw_input(prompt)
if next == "store room" or "Store Room" or "Store room":
store_room()
elif next == "control room" or "Control Room" or "Control room":
control_room()
elif next == "Look" or "look":
abandoned_station
else:
print "Sorry, I do not understand that command."
But when I input 'Control Room' at the prompt, it goes to the store_room function. If I enter anything else, it goes back to the original abandoned_station function - it doesn't even say it doesn't understand.
Have I created a loop here that I have missed?
Thanks in advance.