This is simple but I just cant seem to get it right.
I have a text file containing numbers in the form
0 1 2
3 43
5 6 7 8
and such.
I want to read these numbers and store it in a list such that each number is an element of a list. If i read the entire file as a string, how can I split the string to get these elements separated?
Thanks.