MulaiMulai sekarang secara 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.

Latihan ini adalah bagian dari kursus

Python for MATLAB Users

Lihat Kursus

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Print the first element of "things"
print(____)
Edit dan Jalankan Kode