I have to receive input (10 integers) from the user and put them in a list but not allow repeated numbers to be entered. I tried but the program if you see that the numbers are repeated does not enter any number
v = [ ]
for i in range(0,10):
x = int(input("Escreva um numero: "))
for i in v:
if x == i:
print("Nao pode escrever esse numero.")
else:
v.append(x)
print(v)