Answer the question
In order to leave comments, you need to log in
How to write the results of functions to a separate python text file?
There are working functions, but how to make sure that all the results from these functions are written to a separate text file at the output?
I tried to write my own code - it does not work:
def write():
fy = input("Введите имя файла для сохранения")
file2 = open (fy, "w")
file2.write (max_sh(), count())
file2.close()
print (write())
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question