What is variable length argument in function?
Answer / Divya Bansal
Variable length arguments in Python allow a function to accept an arbitrary number of arguments. You can use *args for any positional arguments and **kwargs for keyword-based arguments.
| Is This Answer Correct ? | 0 Yes | 0 No |
Do you know what does the <yield> keyword do in python?
Why c++ is faster than python?
What is data type in python?
Why python is popular now?
What is pypi repository?
How do we make forms in python?
How can you generate random numbers in python?
Is empty function in python?
How does exception handling in python differ from java?
Who developed python?
How to count the occurrences of a particular element in the list?
Why does python print out none?