题目给出一个有序数列随机旋转之后的数列,如原有序数列为:[0,1,2,4,5,6,7] ,旋转之后为[4,5,6,7,0,1,2].假定数列中无重复元素,且数列长度为奇数.求出旋转数列的中间值.如数列[4,5,6,7,0,1,2]的中间值为4.输入 4,5,6,7,0,1,2 输出 4 输入样例11,2,34,5,6,7,0,1,212,13,14,5,6,7,8,9,10输出样例1249 方法1 排序后直接取. def solution(line): #line = "4,5,0,1,2&qu