#Ask if you would like to take a quiz or not
yes_or_no = input("Would you like to take a quiz? [Y/N] ").lower()
correct_answers = 0

#Response to yes or no question
if yes_or_no == 'y':
    print("Okay, lets go!")
else:
    print('Too bad, hope you have fun!')
    
#Get input from question 1
question1 = input("What is my partner's name? A) Advik Garg B) Yeongsu Kim C) Srijan Atti D) Joe Biden").lower()

#Check answer to question 1
if question1 == 'c':
    correct_answers += 1
    print(f"Good Job! You current score is {correct_answers}/3")
else:
    print(f"Nice try, the correct answer was C! Your score is {correct_answers}/3")

#Input from question 2
question2 = input("How long have I been doing coding? A) 3 Weeks B) 2 Years C) 1 Year D) 6 Months").lower()

#Check answer to question 2
if question2 == 'b':
    correct_answers += 1
    print(f"Congrats, you were correct! Your score is now at {correct_answers}/3")
else:
    print(f"Nice try, the correct answer was B! Your score is {correct_answers}/3")

#Input from question 3
question3 = input('What grade am I currently in? A) 9th B) 10th C) 11th D) 12th').lower()

#Check answer to question 3 and print final score
if question3 == 'b':
    correct_answers += 1
    print("Nice Job!")
    print(f"Your final score is {correct_answers}/3")
else:
    print("Nice try, the correct answer was C!")
    print(f"Your final score is {correct_answers}/3")
Would you like to take a quiz? [Y/N]  y


Okay, lets go!


What is my partner's name? A) Advik Garg B) Yeongsu Kim C) Srijan Atti D) Joe Biden c


Good Job! You current score is 1/3


How long have I been doing coding? A) 3 Weeks B) 2 Years C) 1 Year D) 6 Months a


Nice try, the correct answer was B! Your score is 1/3


What grade am I currently in? A) 9th B) 10th C) 11th D) 12th d'


Nice try, the correct answer was C!
Your final score is 1/3