TOPIC

Runtime error, código funcional !!!

m4th3ww asked 2 years ago

Não sei qual o meu erro, mas sinceramente acho que há algo de errado aqui...

quantidade = int(input())
numeros = [int(i) for i in input().split(" ")][0:quantidade]

print(f"Menor valor: {min(numeros)}")
print(f"Posicao: {numeros.index(min(numeros))}")

Meu código bate com todos os testes, não entendo o porque está dando erro :/

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

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