title: My coding isn't letting me play again instead it just loops back around
body: <p>So basically I have this program that is a quiz and at the end, I want to make the user be able to say if they want to play again and if they say yes it takes them back up to the top and starts again but instead what my coding has been doing is skipping the question of do you want to play again and making them answer the first two questions at the top of my coding and then afterwards asking them if they want to play again but that cycle of questions just loops around until I say no</p>
  
  <p>this is the first function and the main statement part of my coding I couldn't put in the entire thing cause it is too long</p>
  
  <pre><code>def main():
   atawhai, student_id = details()
   quiz_type = quiz()
   complete_quiz(quiz_type)
   if quiz_type == QUIZ_CHOICE[0]:
    correct_answers = g_responses()
   else:
    correct_answers = r_responses()
   display(atawhai, student_id, correct_answers)
   play_again = "Y"
   while play_again == "Y":
    atawhai, student_id = details()
    play_again = input("Do you want to retake the quiz Y or N")
  
  main()
  </code></pre>