Understanding *args and **kwargs with unpacking in Python
Introduction For a very long time, I have been confused about *args and **kwargs in python. This is a short summary of what these terms mean. Before I go deep into them, I have to make a clear distinction between argument and parameters. For so long, I have been confused about them and used them interchangeably. In theory: Parameter: These are placeholder values used while a function is defined. Arguments: These are the actual values passed into the function when it is called....