mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): minor enhancement in few code examples (#64320)
This commit is contained in:
committed by
GitHub
parent
777a06c5b0
commit
93816c737b
+2
@@ -54,6 +54,8 @@ This works exactly the same for `.keys()` if you need to iterate over the keys o
|
||||
for product in products.keys():
|
||||
print(product)
|
||||
|
||||
# Or
|
||||
|
||||
for product in products:
|
||||
print(product)
|
||||
```
|
||||
|
||||
+2
@@ -117,6 +117,8 @@ Output:
|
||||
for product in products.keys():
|
||||
print(product)
|
||||
|
||||
# Or
|
||||
|
||||
for product in products:
|
||||
print(product)
|
||||
```
|
||||
|
||||
@@ -1682,6 +1682,8 @@ Output:
|
||||
```python
|
||||
for product in products.keys():
|
||||
print(product)
|
||||
|
||||
# Or
|
||||
|
||||
for product in products:
|
||||
print(product)
|
||||
|
||||
Reference in New Issue
Block a user