結果 : python global name is not defined function