I have a code that will allow the user to input a name, and based off of the name that is input, the script will perform different actions. For simplicity I've placed the snippet that is working incorrectly below.
print system
if "KH" or "Oberon" or "Bearcat" in system:
print"Type 2"
elif "Sentry" in system:
print"Type 1"
The user inputs Sentry but the script keeps falling in the "Type 2" statement. The print System command is outputting Sentry so i don't quite understand why its not doing the right thing here.