Python Essentials for Data Science Series

Args and Kwargs in Python

Possibly The Least Used and Most Versatile Feature in Python

Shyam Sundar
Published in
4 min readMar 4, 2024

--

Photo by Mehdi Mirzaie on Unsplash

In the world of Python programming, *args and **kwargs provide an elegant way to make functions more adaptable. These special constructs empower you to write functions capable of handling an indeterminate number of arguments…

--

--

Shyam Sundar
The Pythoneers

Always lost in amazing ideas. Engineer turned Data Scientist.