So I have a List of list of four curves.

Using Curve.PointAtParameter I get the mid points of these curves.

What I want to do is get the longest line from these set of 4 points >> meaning pick 2 points which will define the longest line.

My python skills are very basic and I can’t seem to get the nesting logic I feel which will solve this. Any help will be greatly appreciated. Thanks in advance.