結果 : python check if last element in for loop