title: Summing items in list not working? (Python 2.7)
body: <pre><code>MENU = {"1": 3.50, "2": 2.50, "3": 4.00, "4": 3.50, "5": 1.75, "6": 1.50, "7": 2.25, "8": 3.75, "9": 1.25}
  
  order = raw_input("Enter a number! ")
  menu = list(order) #puts the order into a list (2, 4, 5, 2)
  
  def add_up():
      for x in menu:
          global items
          items = MENU[x] 
          return items,
  
  total = sum(add_up())
  print total
  </code></pre>
  
  <p>When I run this, the total printed out is only one value in the list, instead of the sum. Why is this not working?</p>