結果 : python throw error in function