0
How to copy result into a text file using python?
Hello, Trying to print to result in a text file. Unfortunately, I could only print the last line of the statement is copying to a text file. Here is the link of the code: https://code.sololearn.com/cZ5zFFagUzDl/#py I don't want to append the result because It will append to the previous lines whenever I execute
2 Respostas
+ 6
It sounds a bit confusing to me. I think it would help us to get a better understanding when you give some more details and may be you can show us what should happen to your text file. Thanks!
+ 4
you can't interact with files on sololearns playground, the code runs on their servers not your machine