Usuń R i N z Python strunowy

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