=0andtotallen//2 == first:print"inside"medianvals=[alist1[first]]eliftotallen%2==0and(totallen//2 == first or (totallen//2)-1 == first):print"here"medianvals.append(alist1[first])returneliffirst>=last:returnsplitpoint=QuickSort.partition(alist1,first,last)iftotallen%2!=0andtota...