Lines Matching refs:newlist
344 newlist = copy.deepcopy(inlist)
345 newlist.sort()
346 if len(newlist) % 2 == 0: # if even number of scores, average middle 2
347 index = len(newlist) / 2 # integer division correct
348 median = float(newlist[index] + newlist[index - 1]) / 2
350 index = len(newlist) / 2 # int divsion gives mid value when count from 0
351 median = newlist[index]
1710 newlist = copy.deepcopy(inlist)
1711 for i in range(1, len(newlist)):
1712 newlist[i] = newlist[i] + newlist[i - 1]
1713 return newlist
1809 newlist = [0] * n
1816 newlist[ivec[j]] = averank
1819 return newlist