I'm cleaning up my data after web scraping and the list has \n before each element.

SP500 = ['\nAAPL', '\nMSFT', '\nGOOG', '\nGOOGL', '\nAMZN', '\nTSLA'...]

How should I go about removing the \n from each element?