title: Python if statement with dictionary
body: <p>I'm new to Python. I had just recently learned if statements and for loops. As practice, in the Python console, I was trying to come up a project/assignment and it isn't working as I'd like. Here is the code:</p>
  
  <pre><code>    PrimList = {"Monday":1, "Tuesday":2, "Wednesday":3, "Thursday":4, "Friday":5}
  
      appt_ = input("Choose an appt date. For Monday enter 1, for Tuesday enter 3. For Wednesday enter 4. For Thursday enter 5, For Friday enter 6")
  Choose an appt date. For Monday enter 1, for Tuesday enter 3. For Wednesday enter 4. For Thursday enter 5, For Friday enter 6&gt;? 1
  
      #as user input I entered 1, indicating Monday was the option.
  
      if (appt_ == 1):
          PrimList("Monday")
      elif (appt_ == 2):
          PrimList("Tuesday")
      elif (appt_ == 3):
          PrimList("Wednesday")
      elif (appt_ == 4):
          PrimList("Thursday")
      elif (appt_ == 5):
          PrimsList("Friday")
      else:
          print("That is not a valid entry.")
  </code></pre>
  
  <p>what I get is:</p>
  
  <pre><code>Traceback (most recent call last):
    File "&lt;input&gt;", line 1, in &lt;module&gt;
  NameError: name 'appts_' is not defined
  </code></pre>
  
  <p>I may be setting the wrong value to <code>appt</code>, using dictionaries wrong. Can anyone help?</p>