Python Functions · Week 4 — Working with Lists (Practice)
30 questions on list-handling functions; spiral review of Weeks 1-3; 5 challenge questions.
Python Coding Practice: Python Functions Week 4: Working With Lists (Level 1)
This is a new set of coding questions focused on writing functions that work with lists.
You will solve each problem by defining and calling your own Python functions.
Reminder
- Define a function with def function_name(parameters):. - A list can be passed as an argument just like any other variable. - Use return to send back a value from your function. - Inside a function, you can loop through a list with for item in list:.
Preview truncated — download the notebook to see the full lesson.