I am trying to remove \n in my list, but unfortunately my code does not work.
mylist = ['\nHello', 'This', 'Is A', 'List']
for items in mylist:
if "\n" in items:
items.replace("\n", "")
print(mylist)
Is there a way to remove a letter in a string, that is in a list?