The list I made should read the repeated values from a list and show their positions, but it did not work correctly
lista = []
listaRepetido = True
for i in range(4):
lista.append(int(input("Numero: ")))
for i in lista:
for j in range(2,i):
if ((i == j) == 0):
listaRepetido = False
break
if listaRepetido:
posicao = lista.index(i)
print("Numero %i na %i° posiçaõ" % (i, posicao + 2))
listaRepetido = True