Передайте список в функцию в Python
def someFunc(myList = [], *args):
for x in myList:
print x
Unusual Unicorn
def someFunc(myList = [], *args):
for x in myList:
print x