To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

Commit 1af83c35 authored by vermeul's avatar vermeul
Browse files

...

parent cd766cab
......@@ -90,6 +90,8 @@ list(x for x in numbers if x%3 == 0)
```
List comprehensions are short in writing, but not always easy to comprehend.
See also [06-Loops_and_Lists](06-Loops_and_Lists.md) for more sophisticated ways to process data.
```
numbers = list(range(1,20))
......
# Loop and Lists
# Loop and List processing
## Controlling a for loop
**use `break` and `continue` to stop or to continue with the next iteration**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment