Update python.md

master
Matt Huntington 8 years ago committed by GitHub
parent f490ad34f6
commit d21c1e1d4a

@ -213,6 +213,13 @@ for food in foods:
print(food)
```
You can loop through a set of numbers using a `range`
```python
for x in range(0, 3):
print(x)
```
### ACTIVITIES
Simplify the last set of activities using a `for` loop

Loading…
Cancel
Save