title: variable not defined! (python)
body: <p>I have been trying to run my first full text adventure but whenever i run it it says that answer is undefined! please help. in case if you're wondering, here's the code</p>
  
  <pre><code>accept = input("would you like to play the game??")
  if accept.lower() .split() == "yes":
      answer: str = input ("you wake up in a room with two doors in front of you. do you go to the left or the right?")
  if answer.lower() .split() == "left":
      answer2 = input(" you enter the left door. you find a phone with a peice of paper attached to the wall with the phone\n there are two numbers on the peice of paper\n will you choose to call the first one or the second one")
  </code></pre>