numbers.sort(). if size%2==0: return (numbers[size//2-1]+numbers[size//2])/2. else: return numbers[size//2]. n = getNum() #主体函数.
確定! 回上一頁