def findLargest(listNum): listSize = len(listNum) largestSoFar = listNum[0] largestIndex = 0 current = 1 while (current < listSize): if (listNum[current] > largestSoFar): largestSoFar = listNum[current] largestIndex = current current = current + 1 print "the largest value: ", largestSoFar