Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
pass a list to a function in python
user27158
Programming language:
Python
2021-06-22 13:50:52
0
Q:
pass a list to a function in python
jimbobmcgee
Code:
Python
2021-06-16 12:19:39
def someFunc(myList = [], *args): for x in myList: print x
0
Tags
python
list
function
pass
Related
pass arguments ipython
append a string value into a list in python
send function as parameter python
python add a string to a list
how to use variable from another function in python
pass variable in subprocess run python
change element in list python
how to add values to a list in python
send operator by parameter python
how to store a return value in a variable in python
pass function python
give a function a name python
how to pass a tuple to a function in python
convert list to set python
how to add a value to a list in python
add list to set python
how to pass parameters in python script
how to convert a set to a list in python
pass argument to a py file
New to Communities?
Join the community