Entfernen Sie R und N aus String Python
stocks = [x.replace("\r\n","") for x in stocks]
TheProgrammer
stocks = [x.replace("\r\n","") for x in stocks]