IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Python for MATLAB Users

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Print the first element of "things"
print(____)
Modifica ed esegui il codice