#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) Akhil Singhamneni D) Joe Biden").lower()

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

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

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

#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")
Too bad, hope you have fun!
Nice try, the correct answer was C! Your score is 0/1
Nice try, the correct answer was B! You answered . Your score is 0/2
Nice try, the correct answer was C!
Your final score is 0/3