title: Relatively new to python and I'm trying to program a quiz that ask the user for multiple inputs and checks them with the dictionary of answers
body: <p>I understand I need another for loop or while loop in order to run through the lists inside answer_inputs but I am have trouble with it. I understand that this is sort of a short answers test but there only a few answers possible per question. </p>
  
  <pre><code>  questions = ["What are the three elements of a firing team?",
           "What command level does a FiST belong to and what are its elements?",
           "What Command level does a FSCC belong to and what are its elements?",
           "What are the Fire Support Planning Phases?",
           "What are the two general types of targets?"]
  
   answer_inputs = [{"1.","\n2.","\n3.\n"},
               {"Level:","\n1.","\n2.","\n3.","\n4.","\n5.\n"},
               {"Level:","\n1.","\n2.","\n3.","\n4.","\n5.\n"},
               {"1.\n2.\n3.\n"},
               {"1.\n2.\n"}]
  
  one = "observer" or "FDC" or "Howitzer" or "M777" or "155mm"
  
  two = "Company FiST Leader" or "Forward Air Controller" or "FAC" or "Fire Support officer" or "Artillery FO" or "81mm Mortar Observer (FO)" or "Naval Gun-fire spotter team"
  
  three = "Fire Support Coordinator" or "Tactical Air control Party"  or "TACP" or "Liaison section" or "81mm mortar section" or "Shore Fire control Party"
  
  four = "preperatory" or "conduct"  or "consolidation"
  
  five = "linear" or "point"
  
  correct_choices = [{one,one,one},
                 {"Company", two, two, two, two, two},
                 {"Battalion", three, three, three, three, three},
                 {four, four, four},
                 {"linear" or "point","linear" or "point"}]
  
  answers = ["Observer\nFDC\nHowitzer or M777 or 155mm",
         "Level:Company\n1.Company FiST Leader\n2.Forward Air Controller (FAC)\n3.Fire Support officer (artillery FO)\n4.81mm Mortar Observer (FO)\n5.Naval Gun-fire spotter team\n:",
         "Level:Battalion\n1.Fire Support Coordinator\n2.\n3.\n4.\n5.\n:",
         "preperatory, conduct and consolidation",
         "linear and point"]
  
  def quiz():
  
  score = 0
  
  for question, choices, correct_choice, answer in zip(questions, answer_inputs, correct_choices, answers):
  
      print(question)
  
      user_answer = input(choices).lower().rstrip("s")
  
      if user_answer in correct_choices:
          print("Correct")
          score += 1
      else:
          print("Incorrect",print("_"*10), answer)
  print(score, "out of", len(questions), "that is", float(score / len(questions)) * 100, "%")
  
  if __name__ == "__main__":
  quiz()
  </code></pre>