Source Code:
(back to article)
def print_args(*args): for arg in args: print(arg) print_args(1, 2, 3) # prints 1, 2, 3 print_args("a", "b", "c") # prints a, b, c
Result:
Report an issue