結果 : python cannot access local variable response where it is not associated with a value