We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed582a3 commit 7274575Copy full SHA for 7274575
exercises/11-Nested_list/README.md
@@ -5,17 +5,17 @@ It is possible to find a list comprised of other lists (it is called a two-dimen
5
In this example, we have a list of coordinates that you can access by doing the following:
6
7
```py
8
-for coordinates in coordinates_list:
9
- print(coordinates)
+# The first coordinate is latitude
+latitude = coordinates_list[0][0]
10
+# The second coordinate is longitude
11
+longitude = coordinates_list[0][1]
12
```
13
14
## 📝 Instructions:
15
16
1. Loop through the list, printing only the *longitudes*.
17
-## 💡 Hints:
-
18
-+ The structure of the coordinates is `[latitude, longitude]`.
+## 💡 Hint:
19
20
+ Remember, the index of the first item in a list is `list[0]`.
21
0 commit comments