python 3 chapter about python function