Reading lines in a file using for loop

while reading lines of a file using for loop how does python differentiate between words followed by a space and end of a line .

7/27/2017 2:05:09 PM

Mohit Jangra

1 Answer

New Answer


End of the line is an 'invisible' character usually represented by a "\n". Space is just a space :)