My input files have lines that looks like this:
[(0, 1), (1, 3), (2, 1), (3, 1), (4, 1)]
[(0, 1, 6), (1, 3,7), (3, 1,4), (3, 1,3), (8, 1,2)]
[1,2,3,5,3]
There are no letters, no decimals, only integers and number of element in tuples will be consistent.
How do i make them into real list of tuples / list of int?