for example: primes = [0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1] #here primes is a list
primes = [0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1] #here primes is a list
now I want to update the values of primes. The iteration which correctly works