I need to find out the maximum and minimum value in a line by reading a file and should be dividing the maximum value by the minimum value. Am interested to do this in python.
the contents of the file (file.txt) looks like this..
A28102_at,151,263,88,484,118,270,458,872,62,194
AB000114_at,72,21,20,61,20,85,20,25,20,65
AB000115_at,281,250,358,118,197,71,168,296,198,113
The problem am facing is i should be neglecting the first value, that is upto the first occurrence of comma and am unable to figure out a method. And also am interested to store the values in an array and then do the comparision. Is this approach correct or any better method is sugegsted?