結果 : return function in for loop python