i open a file
line = file.readline()
and use line[0:2]
to select the first 3 chars in the line.
But weired, the line[0:2]
only contains 2 chars.
Therefore, i must use line[0:3]
to select the first 3 chars, and it works
But why?
I checked the file, there are no spaces at the beginning of each line
Anybody know this