Python does not support passing variable number of arguments into a function. True or False
This is false. Python provides *args and **kwargs constructs that allow passing different number of arguments inside of a function. In this case function declaration should look like def my_func(first_arg, second_arg, *args, **kwargs)

Follow CodeGalaxy

Mobile Beta

Get it on Google Play
Send Feedback
Keep exploring
Python quizzes
Sign Up Now
or Subscribe for future quizzes