I would like to print a backslash character:
\
But whne I try to use escape characters
print(\"\"\)
I get a syntax error. I have looked into ecape characters, however is their a specific one for backslash ()?
I would like to print a backslash character:
\
But whne I try to use escape characters
print(\"\"\)
I get a syntax error. I have looked into ecape characters, however is their a specific one for backslash ()?
If you do
print("\")
you are escaping the final quote.
You need to escape the backslash.
print("\\")