Oh! In your post, you are showing the file content. Well, why do you split by comma where the values are separated by space? There is no comma, so there is no splitting of the line and you get the whole line - one value.
And why zip()? You get already a list of two values which you can unpack.
And why zip()? You get already a list of two values which you can unpack.
>>> line = "4 8" >>> line.split() ['4', '8']The last one is stupig. Don't pay attention on it. :D