Runtime error

Eduardo Valentin dos Santos asked 6 months ago

Olá, segue meu código, alguém sabe onde estou errando?

lista = []
while len(lista) < 100:
    N = int(input())
    if N not in lista and N >= 0:
a = max(lista)
b = lista.index(a)
print(b + 1)

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.