結果 : python store output of for loop in variable