We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14f0c83 commit 6610a87Copy full SHA for 6610a87
1 file changed
loops.md
@@ -227,6 +227,11 @@ how about you
227
>>>
228
```
229
230
+Note that `for thing in stuff:` is not same as `for (thing in stuff):`.
231
+Here the `in` keyword is just a part of the for loop and it has a
232
+different meaning than it would have if we had `thing in stuff` without
233
+a `for`.
234
+
235
Right now the while loop version might seem easier to understand for
236
you, but later you'll realize that for loops are much easier to work
237
with than while loops and index variables, especially in large projects.
0 commit comments