title: How do I make this cash register program output the total cost and individual costs?
body: <p>I'm trying to make a cash register program that does that following: </p>
  
  <p>Prints the name 
  Prints the date 
  Uses a function(most important) 
  Prints out the individual cost of each item 
  Prints out the total cost </p>
  
  <p>You can make your own, or just make adjustments to mine: </p>
  
  <pre><code>def cash(item1, item2, *items3): 
     sum = item1 + item2 
     for number in items3: 
        sum = sum + number 
     return sum 
  
  print('Here is your final purchase:') 
  print('\nJoe') 
  print('06/20/17') 
  print('\nYour total is:\n') 
  cash(20,1,29) 
  </code></pre>
  
  <p>I have no idea what I'm doing. This is a giant project and I really need help. THANKS </p>
  
  <p>(BTW: Use of inputs are optional, feel free to add them if you'd like)</p>