python book tasks