title: "Local variable 'name_variable' value is not used" error in Python 3.x
body: <p>So, I'm new to programming and I'm currently learning Python.
  While trying to make a simple game, I got stuck when I tried to change the variable, named <code>user_answer</code> to <code>input("Please, answer with yes or no.")</code>.
  Basically this is my line of code <code>else: user_answer = input("Please, answer with yes or no.")</code>.
  But for some reason I get an error, called "Local variable 'user_answer' value is not used".
  Could anyone help me with this?
  Thanks in advance!</p>
  
  <p>Here's my full code:</p>
  
  <pre><code>def my_function():
      user_answer = input("Would you like to play a game?")
      if user_answer == "yes":
          print("Great! I have a number in my head from 1 to 10. Make a guess!")
      elif user_answer == "no":
          print("Oh, okay! Maybe next time?")
      else: user_answer = input("Please, answer with yes or no.")
  
  
  my_function()
  </code></pre>