結果 : python def function in loop