*Reading*: §2.6–2.7

- Program: compute an average
- Show program from pseudocode (see average.py)
- Test and debug it

- Definite loops
- Loop that executes a specific (definite) number of times
- for i in range(10):
- for i in [1, 3, 5, 7, 9]:
- What range(10) translates into

- Program: print Fibonnaci series
- Formula is
*f*=_{n}*f*_{n−1}+*f*_{n−2};*f*_{0}= 0,*f*_{1}= 1 - Output is to be first 20 numbers of the series
- Go through design
- Implementation: see fib.py

- Formula is