title: Python, code doing the first thing then looping to the end
body: <p>I am making a small quiz and trying to learn python. The quiz takes the first answer then loops all the way to the bottom instead of asking the user the rest of the questions. It will print the first question, then ask for the answer , then it will run throught the rest of the code but it won't actually ask for the input or anything like that.</p>
  <pre><code>question_1 = (&quot;ex1&quot;) 
  question_2 = (&quot;ex2&quot;) 
  question_3 = (&quot;ex3&quot;) 
  question_4 = (&quot;ex4&quot;) 
  answer = input (&quot;Please type the letter you think is correct: &quot;)
  count = 0
  # answers 
  print (question_1)
  print (&quot;A. &quot;)
  print (&quot;B. &quot;)
  print (&quot;C. &quot;)
  print (&quot;D. &quot;)
  if answer == &quot;b&quot; or answer == &quot;B&quot;:
      print (&quot;Correct&quot;)
      count +=1
  else:
      print (&quot;Incorrect&quot;)
  print (question_2)
  print (&quot;A. &quot;)
  print (&quot;B. &quot;)
  print (&quot;C. &quot;)
  print (&quot;D. &quot;)
  if answer == &quot;a&quot; or answer == &quot;A&quot;:
      print (&quot;Correct&quot;)
      count +=1
  else:
      print (&quot;Incorrect&quot;)
  print (question_3)
  print (&quot;A. &quot;)
  print (&quot;B. &quot;)
  print (&quot;C. &quot;)
  print (&quot;D. &quot;)
  if answer == &quot;d&quot; or answer == &quot;D&quot;:
      print (&quot;Correct&quot;)
      count +=1
  else:
      print (&quot;Incorrect&quot;)
  print (question_4)
  print (&quot;A. &quot;)
  print (&quot;B. &quot;)
  print (&quot;C. &quot;)
  print (&quot;D. &quot;)
  if answer == &quot;c&quot; or answer == &quot;C&quot;:
      print (&quot;Correct&quot;)
      count +=1
  else:
      print (&quot;Incorrect&quot;)
  </code></pre>