Tutorial 12 (2nd prog) tutorial_12b.py