SyntaxFix
Write A Post
Hire A Developer
Questions
You don't need to use the asterisk to accept a list.
Simply give the argument a name in the definition, and pass in a list like
def takes_list(a_list): for item in a_list: print item