How many argument can be passed in a function?

how many argument can be passed in a function while defining it.

1 Like

As many as you want.

Any number of argument can be put while defining

Unlimited :slight_smile:

by using *args and **kwargd you don’t really need to think about it.

If you want any number of elements as a argument you can use *agrs and if you want to pass any number of key value pair (dictionary) as a argument you can use **kwargs.