You pass a list to a function the same way you pass any other argument to a function.



Click Run to see that using a list as an argument in a function is essentially the same as using just a number or string!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?