Remova R e N do String Python

stocks = [x.replace("\r\n","") for x in stocks]
TheProgrammer