What is variable length argument in function?



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

Post New Answer

More Python Interview Questions

Do you know what does the <yield> keyword do in python?

1 Answers  


Why c++ is faster than python?

1 Answers  


What is data type in python?

1 Answers  


Why python is popular now?

1 Answers  


What is pypi repository?

1 Answers  


How do we make forms in python?

1 Answers  


How can you generate random numbers in python?

1 Answers  


Is empty function in python?

1 Answers  


How does exception handling in python differ from java?

1 Answers  


Who developed python?

1 Answers  


How to count the occurrences of a particular element in the list?

1 Answers  


Why does python print out none?

1 Answers  


Categories