I'm trying to use if, elif, and else statements to display user input but I keep running into trouble, the wrong code keeps on getting displayed. The code is displayed below.
print('Are you a new patient? ')
new_patient = input('Please enter True or False: ')
if new_patient != 'True' or 'False':
print('Command not recognized.')
elif new_patient == 'True':
name = print(input('What is your name: '))
print(f'Welcome to our clinic {name} we are happy to have you.')
elif new_patient == 'False':
print('Already in our database')
else:
print('Thanks for checking us out.')`