'''
make a test to test how much you understand the code for the project
what to do
functions:
print() input()
'''
I'm new to Python. I'm wondering why this program gives me 'correct!' when I enter any other words but not 'A' or 'a'. I want this program to answer me 'correct only when I type 'A', or 'a'. I think I still fully don't understand what or operator does or something else I should understand. Please help me out with this.
print('do you wanna take the test?(yes/no):')
answer = input()
if answer == 'yes':
print('Q1. What do you need to think of first when to make a program?')
print('A. What program I make? B. Write code first.')
print('Choose which one is correct(A/B):')
while True:
A1 = input()
if A1 == 'A'or 'a':
print('correct!')
else:
print('Try again.')
continue
else:
print('May your heart be your guiding key.')