0

I want to print about 7611 numbers and save it as a txt file.

But when I just print normally

    ex.txt

    [[1 2 3 4 
      5 6 7 8
          ...]]

A txt file is created as above.

What I want to do is print like :

     ex.txt

     1
     2
     3
     4
     5
     .
     .
     .

How can I change the form of the result like above?

Please help. Thanks.

Insung Lee
  • 87
  • 4

0 Answers0