Python Lists

 

Lists in Python

Access Items

  • You access the list items by referring to the index number.

  • We can use the index operator [] to access an item in a list.

 Elements in a List

Multi-Dimensional List

Heterogeneous Datatype

 


Comments