Computer Science, asked by vihitha4603, 1 year ago

How to use *args and **kwargs in Python?

Answers

Answered by herin83
0

The syntax is to use the symbol * to take in a variable number of arguments; by convention, it is often used with the word args.

What *args allows you to do is take in more arguments than the number of formal arguments that you previously defined

Similar questions