If I run this using 'or' down there in the if statement it dose not matter what name I provide for the input, everything makes the function run. If I remove the or then the if statement runs and the elif and else are ignored.
names = ['Luke', 'James', 'Bob', 'Rob', 'Vincent']
emp_name = input("What is your name?")
def employees():
for name in names:
if name == 'Luke':
print(name, '- is the best')
continue
if name == 'Vincent':
print(name, '- is insane')
continue
print(name, '- is okay')
if emp_name.lower() == "luke e. hayes" or "luke":
employees()
elif emp_name.lower() != "luke e. hayes" or "luke":
print("Get out")
else:
print("Error")