Удалить R и N из String Python
stocks = [x.replace("\r\n","") for x in stocks]
TheProgrammer
stocks = [x.replace("\r\n","") for x in stocks]