0

Here is my example:

test = 'some string\n'
test.replace('\n',' ')
test.replace('\t',' ')

I cannot understand why output looks like

'some string\n'

'\n' should have disappeared.

user1700890
  • 6,206
  • 15
  • 77
  • 160

0 Answers0