printing practise from ex5-9, ex8-ext.py can't be explained