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

By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.
Already have an account?