73.1k views
3 votes
How do you include a loop structure programming in python apus week 5 forum?

1 Answer

2 votes
Python has two basic loop structures, while and for in.

```
i = 0
while( i < 10 ):
print i
i += 1

for i in range( 10 ):
print i
```

Sorry, I don't know what's in the apus week 5 forum.
User Shmakovpn
by
7.6k points