TOPIC
Python - Recebo Rumtime Error
Alexandre117 asked 6 years ago
PYTHON
Recebo RUMTIME ERROR
Traceback (most recent call last): File "Main.py", line 12, in n = float(input()) EOFError: EOF when reading a line Command exited with non-zero status (1)
v = [] posicao = 0 cont = 10000000 for i in range(1, cont): n = float(input()) if n <= 10: v.append(n) print('A[{}]= {}'.format(posicao, v[len(v) - 1])) posicao += 1 if len(v) == 101: break