Question: Write output to a file in phyton

I have numpy matrix say A

 

I want to print the matrix into a

A.txt.   file  phyton coding

Please Wait...