title: Problems with a Python if-else statement
body: <p>I am doing an assignment for an IT class. Very basic Python projects. I have no experience with it but am able to grasp what is going on most of the time. This project involves making choices involving random integer selections. I can get the options to work the way I want in the if-else format but the else command isn't responding the way I want. The options all load properly but if the choice is 1-3 for some reason the program then prints the "else" statement after printing the "if" statements. This doesn't happen if they choose option 4 or pick an invalid number(the reason for the else statement).</p>
  
  <p>I didn't have this issue in the previous section of the program. I must have missed something, but I can't tell what it is. I should reiterate I am very much a beginner at this and am basically copy-pasting code as the assignment instructed, and then editing it to suit my needs.</p>
  
  <pre><code>interactions = ["Back Away Slowly","Point Towards the Chamber","Attack","Try To Communicate",]
  import random
  badchoice = random.randint(1,3)
  loop = 1
  
  while loop == 1:
      choice=menu(interactions, "How do you decide to interact?")
      print("")
  
      if choice == 1:
          print("You start to slowly back away from the man.")
          print("You worry you are giving off the wrong attitude.")
          print("")
  
          if choice == badchoice:
              loop=0
              print("The stranger was already weary of your presence.")
              print(interactions[choice-1], "was not the correct decision.")
              print("He calls for help. Villagers and guards immediately surround you.")
              print("You are thrown back into the chamber. Hitting your head, and getting knocked unconscious in the process.")
              print("You are back where you started and the items have been removed.")
              print("There is no escape.")
              print("Lamashtu's Curse can not be broken.")
              print("Game Over.")
  
          else:
              print("The stranger looks at you in confusion.")
              print("")
  
  # Choices 2 and 3 go here. Same code. Seemed redundant to post all of it.    
  
  
      if choice == 4:
          loop=0
          print("The stranger is weary of your presence, and can not understand you.")
          print("You can see in his eyes that he wants to help,")
          print("and he escorts you back to his home for the time being.")
          print("He offers you some much needed food and water.")
          print("You are no closer to understanding what curse brought you here.")
          print("Perhaps tomorrow you will have more time to inspect your surroundings.")
          print("In time you may be able to communicate enough  with your host to explain your dilemma,")
          print("but for now you are trapped 6000 years in the past with no other options.")
          print("At least you've made it out alive thus far......")
          print("To be continued...")
  
      else:
          print("Please choose a number between 1 and 4.")
  </code></pre>