Example & Tutorial understanding programming in easy ways.

How we can pass a variable number of arguments in Function calling in Python ?

This can be done by the following code :


def f(*a):

    print(a)

f(1,2)

f(1,2,3,4)


Read More →