0
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 .
1 Answer
+ 6
End of the line is an 'invisible' character usually represented by a "\n". Space is just a space :)