CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Python for MATLAB Users

Afficher le cours

Exercice interactif pratique

Passez de la théorie à la pratique avec l’un de nos exercices interactifs

Commencer l’exercice