79211152

Date: 2024-11-21 12:33:35
Score: 0.5
Natty:
Report link

The args stands for arguments that are passed to the function whereas kwargs stands for keyword arguments which are passed along with the values into the function.

*args (Non-keyword Arguments/Positional Arguments) – *args allows a function to accept any number of positional arguments i.e. arguments that are non-keyword arguments, variable-length argument list.

*kwargs (Keyword Arguments) – **kwargs is a special syntax that allows us to pass a variable length of keyword arguments to the function.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Phantom001