Passing a list into a function allows that function to read and manipulate the list.
Solution for How to pass a list as an argument in Python : You can use function arguments to pass a list as an argument Call a function and pass a list as an argument.