Supprimer R et N de String Python

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