Hey guys,
I have a txt file that contain the following data:
34,1,2,3,3,1,6,5
55,3,3,1,1,2,5,6
66,2,4,4,4,3,3,3
67,4,5,5,5,6,2,2
68,5,1,2,2,4,4,4
69,6,6,6,6,5,1,1
where the numbers in position [0] are integers. so basically, i wan to
sort the numbers from position [1…7] then pick the first four numbers
after sorting in each line.
any guidelines for how to do it.
P.S I’m still a beginner in programming…just doing my exam project.
Thank you for your help.