I am making a part of code that will search for keywords in string and if it finds them, it will write them down.
I made a keyword list in a csv file and imported it to python and then made it to a list. Now, the problem is that the list isn't a completely regular list. Instead of [item1, item2, item3, etc]
it outputs [[item1], [item2], [item3], [etc]]
I would like to remove the brackets [] from every item in the list and otherwise keep the list the way it was.
I have tried looking up many ways of doing this and none of them has worked for me yet, what method should I in this situation try?