My question is: How can I write lists in a file?
So:
list = ["damn","bro"]
correct_list = "\n".join(list)
file = open("test.txt", "w")
How do I write this into a file now that it's a list? So in the file:
damn
bro
I already tried it but it just stand behind each other without whitespace