list len(primes len(functionlength of list primes maximum index is note that the length of list is the number of items it contains the largest legitimate index is one less than that because indices count from zero