Learn Python the Hard Way up to function