結果 : call function inside for loop python