Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

11 Nested list

It is possible to find a list comprised of other lists (it is called a two-dimension list or matrix).

In this example, we have a list of coordinates that you can access by doing the following:

longitude = []

for loop in coordinate longitude

longitude = coordinatesList[0][1];

📝Instructions:

  1. Loop through the list printing only the longitudes.

💡 Hint:

  • Remember the index of the position 1 is list[0]

Expected result:

The result should be something like this:
-112.633853
-63.987
-81.901693
-71.653268