I have this name list that i got online,the list is 200 names long,here is a sample of it that i have saved in a text file.
John
Noah
William
James
Logan
Benjamin
...
I want them to be a list of strings i.e
x=['John','Noah','William',...]
I searched for questions similar but didn't find exactly what i need, any help is much appreciated.