title: How to use passed arguments as default parameter values in Python?
body: <p>Given a function with multiple arguments, where all but the first one are variable.</p>
  
  <p>E.g.:
  <code>def f(a, b = .., ...)</code></p>
  
  <p>I am looking for minimalist python-code that realizes the intuitive code below:</p>
  
  <p><code>def f(a, b = a, ...)</code></p>
  
  <p>Hence, I could not find any satisfying answers I am asking here although I am without doubts that the answers to this question have been given already somewhere - in that case i apologize.
  Cheers!</p>
  
  <p>I specify by another example my desired functionality again intuitively by wrong code:</p>
  
  <pre><code>def f(a,b,c, d = 0, e = [], f = b, g = c, h = a):
  ...
  </code></pre>
  
  <p>Thank you in advance!</p>