title: yes no answer system / game trouble with the if stamtment in python
body: <p>I want the program to ask a new question depending on the previous question's answer. Several times. I am probably doing it completely wrong (I'm a noob and want to learn)</p>
  
  <pre><code>Q1 = input("stripes? answer yes or no: ")
  if Q1 == "yes":
      Q2 = input("horizontal stripes? answer yes or no: ")
  if Q1 == "no":
      Q3 = input("is there a cross? answer yes or no: ")
  if Q2 == "yes":
      Q4 = input("is there 3 difrent colors or more? answer yes or no: ")
  if Q2 == "no":
      Q5 = input("dose it have some sort of crest? answer yes or no : ")
  if Q3 == "yes":
      Q6 = input("is ther 3 different colors or more? answer yes or no: ")
  if Q3 == "no":
      Q7 = input(" is ther a red background color? answer yes or no: ")
  </code></pre>
  
  <p>If I answer the first question no and the second yes it gives me folowing error: 
  <code>NameError: name "Q2" is not defined</code>.</p>
  
  <p>It worked fine until I added the last 2 ifs.
  Thank you for the answers and sorry for bad spelling I have dyslexia.</p>