Dec-11-2019, 10:51 PM
Hello,
I'm new in programming and python.
So I have a question for escape sequences.
If you want to print a backslash, you have to use an escape sequence, right?
Thank you for your help :)
I'm new in programming and python.
So I have a question for escape sequences.
If you want to print a backslash, you have to use an escape sequence, right?
print('\\')Output:\But you don't have to use an escape sequence here:print('Tom\s car')Output:Tom\s carWhy?Thank you for your help :)
