While running the code a = 'Mr. stack\n\x0c'
print(a)
my kernel is getting clear what does it mean.
But if I slice the string like print(a[:-1])
It was working fine. What does the escaping mean?
If any details required make a comment I will provide. Thank you