(I am using thonny don't know if that is part of the error) I am trying to write to a file but my code,
thing = ["hello", "goodbye", "please", "help"]
with open('file123.txt', 'w') as file321:
file321.writelines(thing)
file321.close()
writes hellogoodbyepleasehelp
to file123.txt
when I want it to write
hello
goodbye
please
help
I have tried having the list be thing = ["/nhello", "/ngoodbye", "/nplease", "/nhelp"]
but that just made the file be /nhello/ngoodbye/nplease/nhelp