There is a list, for example:
["2 -1 5 4"] These are the coordinates of the points of the vector, x1, y1, x2, y2, respectively. It is necessary to find the length of the vector formed by these points.
Prompt more "Python" way to solve this problem. How to properly pull values from this line, then to calculate everything?
The fact that the list is just one line, do not pay attention, it should be so. :)
intlist = [int(x) for x in strlist[i].split()]- MBo