When I type this command in the console, it returns me an empty list. But if I create a file and have it run, nothing appears, what happens? How should I do it?
lista = []
x = 1
while x > 0:
x = int(input('digite um numero inteiro: '))
lista.append(x)
print (lista)