I'm trying to create a new file. In this file I want to add some results I have received from my code. Unfortunately I get a error message saying I can't combine str with list. So then I tried to make a string out of the list and ended up with this
where the left column is the so called string and the rest is the list I tried to make a string by doing like this: str(mylist). I want to be able to write to a new file both the string and this list I have.