Answers for "unlimited keyword arguments python"

1

unlimited keyword arguments python

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


calculate(3, add=4, multiply=5)
Posted by: Guest on February-01-2021

Code answers related to "unlimited keyword arguments python"

Python Answers by Framework

Browse Popular Code Answers by Language