Iterate python args

Python July 17, 2017 python

Published by Dimitris Kougioumtzis · Updated

Iterate python args

Python code example

python
1
2
3
def function(*args):
  for arg in args:
    print(arg)