Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pass a list to a function in python

def someFunc(myList = [], *args):
    for x in myList:
        print x
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pass #list #function #python
ADD COMMENT
Topic
Name
4+7 =