Hello.
I need some help. I have a function my_function(a, b, c, d)
which takes string parameters and output them in different combinations. It works well in IDLE, but I would like to output the result into a file. Such code
file = open("out_file.txt", 'w')
file.write(my_function(a, b, c, d))
generates a Type Error (must be string). What could you advice?
Thank you.