Aan de slagGa gratis aan de slag

List exploration

One of the unique things about lists is that they can contain all kinds of things, from numbers to strings, and even functions and NumPy arrays. This can be very useful for gathering things together instead of assigning variables for each item.

In this exercise, you're going to see some of the things that lists can contain by exploring what is in the list things.

Deze oefening maakt deel uit van de cursus

Python for MATLAB Users

Cursus bekijken

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# Print the first element of "things"
print(____)
Code bewerken en uitvoeren