0% found this document useful (0 votes)
5 views1 page

Understanding Python List Basics

The document describes a list with 4 elements - a string, a float, a boolean, and another nested list. It provides an example of accessing the first element of the list which yields the string "some text". The length of the list is also specified as 4.

Uploaded by

Saa Nia
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views1 page

Understanding Python List Basics

The document describes a list with 4 elements - a string, a float, a boolean, and another nested list. It provides an example of accessing the first element of the list which yields the string "some text". The length of the list is also specified as 4.

Uploaded by

Saa Nia
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Lists

Index 0 1 2 3

"some text" , 12.9 , True , ["nested!", 8]

Length = 4

my_list[0] yields "some text"

You might also like