Aug-20-2020, 09:18 PM
You've read the data into a (single) string. The next things you should do are:
- remove the newline that was read at the end of the line (look at
rstrip()
)
- cut it into parts (you'll want to look at
split()
). Would probably be a little simpler if you only have spaces or only have commas between the numbers.