First post; programming newbie; PYTHON. I'm trying to do the following and having some trouble: If person answers yes, then proceed with the questions, which is a function. If person answers no, then print "Please get the patient" and rerun the question. Any help is GREATLY appreciated!
It proceeds to questions () regardless if the answer is "yes" or "no." I tried using "else" with no success, "elif" without success either.
patient = input("The following are questions are intended for the patient. Are you the patient? (Yes or No)")
if patient == 'yes' or 'Yes' or 'y':
questions()
elif patient != 'yes' or 'Yes' or 'y':
print ("Please get the patient.")