mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): typo in shortest path algorithm step 12 (#59766)
Co-authored-by: Alkram Dhib <akramdhib999@gmail.com>
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ dashedName: step-12
|
||||
|
||||
# --description--
|
||||
|
||||
As you can see from the output, `.items()` creates a data structures that stores each key-value pair in a distinct tuple. To iterate over the elements in those tuples you can add a second loop variable:
|
||||
As you can see from the output, `.items()` creates a data structure that stores each key-value pair in a distinct tuple. To iterate over the elements in those tuples you can add a second loop variable:
|
||||
|
||||
```py
|
||||
for i, j in dict.items():
|
||||
|
||||
Reference in New Issue
Block a user