Python Tutorial-*args and **kwargs

In Python, We can pass a variable number of arguments to a function using special symbols. There are two special symbols.

  1. *args(Non-Keyword arguments)
  2. **kwargs(Keyword arguments)

Let’s understands this using code implementation

Note: Please feel free to comment if you find any errors. Also, suggest for improvisation of the code, if you feel it.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store