What are args and kwargs in Python?



What are args and kwargs in Python?..

Answer / nashiinformaticssolutions

`args` allows passing a variable number of non-keyword arguments, while `kwargs` allows passing a variable number of keyword arguments.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Python Interview Questions

What are the advantages of using python?

0 Answers  


How do I run a python file in python shell?

0 Answers  


How do you sort values in descending order in python?

0 Answers  


What does [::-1} do?

0 Answers  


How is garbage handled in python?

0 Answers  






What is uuid format?

0 Answers  


Can you run python programs without python installed?

0 Answers  


What is iterable python?

0 Answers  


What are list comprehensions in Python?

2 Answers  


Is compiled python faster?

0 Answers  


What is a python mixin?

0 Answers  


How do I list all files of a directory?

0 Answers  


Categories