Write a Python function func1() such that it can accept a variable length of argument and print all arguments value


Topic: Write a Python function func1() such that it can accept a variable length of argument and print all arguments value

Solution

def func1(*args):
    for i in args:
        print(i)



List all Python Programs