I have a text file in which i wrote a list. Now i want to join all the list items in that text file. Here is the screenshot of the contents of text file
I tried doing this:
file = open("Result.txt","r+",encoding="utf8")
text = file.read()
text.join(' ')
but it prints ' '