def is_cross(arr1,arr2): if arr1[-2]<arr2[-2] and arr1[-1]>arr2[-1]: return True 报错 line 10, in is_cross IndexError: list index out of range