結果 : terminate a for loop python