title: Statement expected, found Py:ELIF_KEYWORD
body: <p>I am also getting error Statement expected, found Py:COLON&quot;</p>
  <p>What is going wrong? This is a text based adventure game project I am working on to practice <code>elif</code> and <code>else</code> statements. Below is my code.</p>
  <pre><code>def start():
      print(&quot;You wake up on the floor. Sweating. Your head is pounding, you find that you are &quot;
            &quot;sitting in a dark, cold, eerily quiet room...&quot;)
      print(&quot;You hear water dripping, the quality of this place makes you think of an old basement.&quot;)
      print(&quot;Except, there are no haphazardly placed boxes labeled with things like &quot;
            &quot;'Christmas Decorations' or 'Old Photos'...&quot;)
      print(&quot;You have that deep, aching and alarming feeling in your &quot;
            &quot;stomach that can only be described as exactly what it is...&quot; 
            &quot;fear. You rise to your feet and take in the sheer darkness &quot;
            &quot;that has seemingly swallowed you up. Desperately&quot; 
            &quot;you reach for your pockets and find to your surprise that &quot;
            &quot;you have a lighter! Upon lighting it, you find that&quot; 
            &quot;there is a note taped to the wall, between two doors. &quot;
            &quot;It reads 'Welcome to hell!' There are two doors in front&quot;)
      print(&quot;of you. The one on the left leads to safety but unhappiness. &quot;
            &quot;The door on the right leads to choas but &quot;
            &quot;eternal happiness. Choose wisely.&quot;)
  
      answer = input(&quot;&gt;&quot;).lower()
  
      if &quot;l&quot; in answer:
          spider_isles()
      elif &quot;r&quot; in answer:
          fire_coaster()
      else:
          game_over(&quot;By choosing not to choose you've chosen death on repeat! You will die in your dreams in horrific&quot;
                    &quot;and in realistic detail every night. Didn't you read the fine print?&quot;)
  
  
  def game_over(reason):
      print(&quot;\n&quot; + reason )
      print(&quot;Game over, sucka!&quot;)
      play_again()
  
  def safe_haven():
      print(&quot;Welcome to the safe haven! You are now in a room filled with amenities and SAFETY!&quot;
            &quot;You have a nice cozy warm bed to sleep in until you must face the &quot;
            &quot;terrors of tomorrow! OR you can choose the door on the end of the room. It is&quot;
            &quot;entirely unknown. &quot;
            &quot;1.) Choose the door to the unknown.&quot;
            &quot;2.) Choose to remain in your current arrangement.&quot;)
      answer = input(&quot;&gt;&quot;)
      if answer == &quot;1&quot;:
          print(&quot;You've beat the game and you've escaped the purgatory!&quot;)
      if answer == '2':
          print(&quot;You've chosen to keep your current arrangements. On your first day your new allies turned&quot;
                    &quot;on you due to being jealous of your safe haven! You are dead.&quot;)
      game_over(&quot;YOU ARE DEAD!&quot;)
  
  
  def spider_isles():
          print(&quot;/nI reach for the knob on the left, as I turn the knob and open the dark red door I find that&quot;
                &quot;I am overwhelmed by the enormity of the space before me. But most of all, I literally&quot;
                &quot;cannot process the amount of spiders in front of me. There is one spider in particular&quot;
                &quot;that varies from 3-10 times larger than the rest. Definitely the Trump of spiders.&quot;
                &quot;He is staring at me, almost in a calculated way. I can't breathe. I thought&quot;
                &quot;I must be dead when the spider asked me 'Will you choose...&quot;
                &quot;1.) to join us, live among us and be protected for the rest of your life or;&quot;
                &quot;2.) be eaten alive by us here and now?&quot;)
          answer = input(&quot;&gt;.&quot;)
          reason = &quot;Wrong choice!&quot;
          if answer == '1':
              print(&quot;Trump spider scurried disgustingly out of your way revealing a slowly clearing path&quot;
                &quot;for you to follow, it looks like it leads to another building with a door, you &quot;
                &quot;walk the spider lined black moving mass of a path to the building and head &quot;
                &quot;to the door, you don't hesitate to&quot;
                &quot;open it, anywhere must be better... right?&quot;)
          safe_haven()
          elif answer == '2'
          print(&quot;Guess it's game over for you! Took the easy way out, eh?&quot;)
          game_over(reason)
          else:
          print(&quot;Not choosing doesn't help you escape. The spiders still ate you alive, pal!&quot;)
          game_over(reason)
  
  def fire_coaster():
      print(&quot;Hesitantly, I reach for the know on my right. I think to myself,&quot;
            &quot;uncertainty is worth it if it means eternal happiness right? &quot;
            &quot;As I pull open the know to the electric blue door, I am consumed by the screams.&quot;
            &quot;I hear mechanical noises, too. The screams are what shocked me the most, the &quot;
            &quot;mechanical noise was unmistakable, roller coasters. But... the screams....&quot;
            &quot;They weren't the screams of excited theme park goers. These screams were &quot;
            &quot;blood curdling. I was greeted by a man who clearly, uh... worked here.&quot;
            &quot;It was then I noticed his creepy dead stare and smirk. His shirt was covered in blood&quot;
            &quot;and he was patiently waiting and lightly swaying to the music from the carousel.&quot;
            &quot;He suddenly stopped and tilted his head slowly toward the other shoulder and &quot;
            &quot;asked, so...&quot;
            &quot;1.) Do you want to stay and play? Everyday that you survive the terror you win a &quot;
            &quot;safe night and 10 grand.&quot;
            &quot;2.) You get a chance to run, but I will catch you and I will eat your eyes out.&quot;)
      answer= input(&quot;&gt;.&quot;)
      if answer == '1':
          print(&quot;You've chosen to stay and play!&quot;)
  safe_haven()
  
  elif if answer == '2':
      reason= &quot;You really thought running would work?&quot;
      print(&quot;You've chosen to run! Not very smart! You made it to the fun house! You encounter the evil carnie&quot;
          &quot;in a room  of mirrors! You watched yourself get stabbed in every angle imaginable!&quot;)
  game_over(reason)
  
  else:
  print(&quot;Not choosing IS choosing. You made it to the fun house! You encounter the evil carnie&quot;
        &quot;in a room of mirrors! You watched yourself get stabbed in every angle imaginable! &quot;)
  game_over(reason)
  
  
  
  def play_again():
      print(&quot;\nDo you want to play again? (y or n)&quot;)
      answer = input(&quot;&gt;&quot;).lower()
      if &quot;y&quot; in answer:
          start()
      else:
          exit()
  
          start()
  </code></pre>