Answers for "python strin remove \n and \r"

13

python removing n from string

line = line.strip('n')
line = line.strip('t')
Posted by: Guest on February-21-2020
1

remove r and n from string python

stocks = [x.replace("rn","") for x in stocks]
Posted by: Guest on April-09-2021

Python Answers by Framework

Browse Popular Code Answers by Language