title: How do i format a value as a list from a dictionary
body: <p>I'm trying to do some simple projects on my own to learn python a little better, what I am trying to do is format the the values into fields. I've managed to sort the keys in ascending order and match the keys with their respective lists.
  I know why only the first word in the list gets formatted and that is because it is being treated as one string with spaces in-between, I am at a complete loss as how to proceed</p>
  
  <p>It should look like this:</p>
  
  <pre><code>Id      name      species      age      spayed/neutered
  1020    b         cat          9        yes
  1022    brn       dog          10       no
  1023    bren      cat          2        yes
  </code></pre>
  
  <p>This is the relevant function that will be displaying the information from the dictionary, and my progress so far.</p>
  
  <pre><code>cust_rec = {'1020': ['b','cat','9','yes'], '1023': ['brn','dog','10','no'], '1022': ['bren','cat','2','yes']}
  
  def cust_disp (cust_rec):
  
      for key in sorted(cust_rec.keys()):
      print("{0:12s} {1:10s} {2:10s} {3:4s} {4:s}".format("ID","Name","Species","Age","Spayed/Neutered"))
      print ("{0:12s} {1:10s}".format(key, " ".join(cust_rec[key])  ) )
  </code></pre>
  
  <p>If i need to clarify anything let me know.</p>