title: Python condensed parameter
body: <p>I've got an array I'm passing to an object</p>
  
  <pre><code>details = [
      ('my', 'month', 'current', 'percent', 'percent'),
      ('my', 'month', 'current', 'value', 'decimal'),
  ]
  </code></pre>
  
  <p>I'm passing it into a function</p>
  
  <pre><code>mappings = {
    '_'.join(detail): get_revenue_row_item(metric_data, *detail)
    for detail in details
  }
  </code></pre>
  
  <p>The receiving function looks like this:</p>
  
  <pre><code>def get_revenue_row_item(data, *path):
  </code></pre>
  
  <p>I'm looking to separate the first 4 items in the <code>()</code>from the last one in the receiving function.</p>
  
  <pre><code>first_four_strings_of_path = ???
  last_strings_of_path = ???
  </code></pre>
  
  <p>I'm very new to Python, can anyone help?   </p>
  
  <p><strong>My final goal is to pass the first 4 items as one parameter, and the last item as a second parameter.</strong> </p>