title: Python: How to add user input into a list?
body: <ul>
  <li>I'm not sure how to take user inputs and add it to a list by mapping based on item types. </li>
  <li>In the following code example, after choice one is selected, user is prompted to enter item type, which is a single letter (b,m,d,t,c).</li>
  <li>Once user enters that letter and then the cost, I need to store in a list. </li>
  <li>For example, if you enter b then 10. In the list it should come out as [(Bike, 10)] and not [(b, 10)] . So that later when the list is printed out, it is printed as [(Bike,10)] instead of [(b,10)] which adds readability.</li>
  </ul>
  
  <p>I'm not even sure how to figure this out or attempt to.
  Also, sorry for the poor wording in title. I'm very new to this and was not sure how to word the question.</p>
  
  <h1>Code</h1>
  
  <pre><code>while True:
      print "1. Add an item."
      print "2. Find an item."
      print "3. Print the message board."
      print "4. Quit."
      choice = input("Enter your selection: ")
      if choice == 1:
          item = raw_input("Enter the item type-b,m,d,t,c:")
          cost = raw_input("Enter the item cost:")
          elts = []
          elts.append([item,cost])
          if choice == 4:
              print elts
              break
  </code></pre>