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.

This exercise is part of the course

Python for MATLAB Users

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Print the first element of "things"
print(____)