Skip to content

Commit 87183fb

Browse files
committed
little fixes thx horusr
1 parent 0939225 commit 87183fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

basics/loops.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ how about you
192192
>>>
193193
```
194194

195-
But there's `len()` and an index variable we need to increment and a
195+
But we have `len()` and an index variable we need to increment and a
196196
while loop and many other things to worry about. That's a lot of work
197197
just for printing each item.
198198

@@ -432,7 +432,8 @@ while True:
432432
print(thing)
433433
```
434434

435-
2. This code is supposed to print `[1, 2, 3, 4, 5, 6]`. Fix it.
435+
2. This code is supposed to print `[1, 2, 3, 4, 5, 6]`. Fix it without
436+
changing the `before` list.
436437

437438
```python
438439
before = [[1, 2], [3, 4], [5, 6]]

0 commit comments

Comments
 (0)