Good afternoon this is my code it took almost 2 hours looking at what I'm wrong and I could not find out please could you help me
'' 'Read 10 integers, store them in a list and determine in which position of the list is the highest number read' ''
try:
lista=[]
pos=0
for i in range(10):
numero=int(input("Digite un numero entero: "))
lista.append(numero)
mayor=lista[0]
aumento=0
for l in range(len(lista)):
if (lista[l]%l)==0:
aumento+=1
if aumento==2:
if lista [l] > mayor:
lista[l] = mayor
pos=l+1
print("El numero primo mayor se encuentra en la posicion %d"%pos)