title: how to print the sum of a dictionary
body: <p>I am trying to print the sum on each list in the dictionary but the error comes back as TypeError: 'int' object is not iterable, not sure what to do.</p>
  
  <pre><code>def pass_bags(s,j):
  
    plane={}
    plane['Spirit']=s
    plane['JetBlue']=j
    return plane
  def show_bags(bags, airline):
    for i in range(len(bags)):
        for x in bags[airline][i]:
            print (type (x))
  s=[[5,6,7,7,8],[9,3,5]]
  j=[[2,8,9,7],[2,3,5,6]]
  </code></pre>
  
  <p>what it needs to say is</p>
  
  <pre><code>On Spirit Airlines:
  person 1 has 5 bags weighing 87 lbs
  person 2 has 3 bags weighing 17 lbs
  </code></pre>