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.
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.