unlimited keyword arguments python

def calculate(n, **kwargs):
  print(n + kwargs['add'])
  print(n * kwargs['multiply'])


calculate(3, add=4, multiply=5)

Here is what the above code is Doing:
1. We define a function called calculate that takes two arguments: n and **kwargs.
2. We print the sum of n and kwargs[‘add’].
3. We print the product of n and kwargs[‘multiply’].
4. We call calculate with the arguments 3 and add=4 and multiply=5.