SyntaxFix
Write A Post
Hire A Developer
Questions
You can pass lists just like other types:
l = [1,2,3] def stuff(a): for x in a: print a stuff(l)
This prints the list l. Keep in mind lists are passed as references not as a deep copy.