+ 5
How to print the symbol "\" .
print symbol
3 Answers
+ 4
Use "\\" instead.
The reason for this is that "\" is used for escape sequences, so when you try to print it by itself, it thinks you're trying to escape the following character.
+ 3
Thanks
0
"\\" you need to escape \ to print it.