in reply to Re^2: Output from read/write txt file
in thread Output from read/write txt file

It needs to be outside of the loop because of the way I read input into the program and it's looping through line by line?
Yes.

If you have any further questions, post a small sample of your input file and the exact output you desire.

Replies are listed 'Best First'.
Re^4: Output from read/write txt file
by Hayest (Acolyte) on Mar 12, 2015 at 15:38 UTC
    Once I put my print statement outside of the loops I am getting the output I desire. Thanks again!