結果 : check each line in file python