In [15]:
def task(x, y=5, z=6):
    print(x, y, z)

In [5]:
args = {'x': 1, 'y': 2, 'z': 4}

In [16]:
task()
task(**args)


---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-16-ed259f5c4386> in <module>()
----> 1 task()
      2 task(**args)

TypeError: task() missing 1 required positional argument: 'x'