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
  • 7,144
  • 18
  • 87
  • 183

0 Answers0