0

When I run this code the Python Console from PyCharm doesn't show anything.

folder = open("meu_arquivo.txt", 'w' )

my_list = []

i = 0
while i < 4:
    a = int(input("numero: "))
    my_list.append(a)
    i += 1
print(my_list)
folder.writelines(str(my_list))

folder.close()

folder = open("meu_arquivo.txt", 'r')
folder.readlines()
deadshot
  • 8,317
  • 4
  • 15
  • 36
biangomes
  • 1
  • 1

0 Answers0