DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
4+7 =
Submit