Get startedGet started for free

Looping through lists

In this exercise, the list things is provided for you. It contains multiple different types of Python objects. You need to loop through the items in the list. Which method is the best way to start the for loop?

Feel free to explore the dictionary.

This exercise is part of the course

Python for MATLAB Users

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise