title: Is it possible to change a function's default parameters in Python?
body: <p>In Python, is it possible to redefine the default parameters of a function at runtime?</p>
  
  <p>I defined a function with 3 parameters here:</p>
  
  <pre><code>def multiplyNumbers(x,y,z):
      return x*y*z
  
  print(multiplyNumbers(x=2,y=3,z=3))
  </code></pre>
  
  <p>Next, I tried (unsuccessfully) to set the default parameter value for y, and then I tried calling the function without the parameter <code>y</code>:</p>
  
  <pre><code>multiplyNumbers.y = 2;
  print(multiplyNumbers(x=3, z=3))
  </code></pre>
  
  <p>But the following error was produced, since the default value of <code>y</code> was not set correctly:</p>
  
  <pre><code>TypeError: multiplyNumbers() missing 1 required positional argument: 'y'
  </code></pre>
  
  <p>Is it possible to redefine the default parameters of a function at runtime, as I'm attempting to do here?</p>