passing function argument printing first item of the list code example
Example: pass a list to a function in python
def someFunc(myList = [], *args):
for x in myList:
print x
def someFunc(myList = [], *args):
for x in myList:
print x