Issue
I want to print some letters big in the terminal using / and some other characters but / has caused me some trouble.
when I tried to run it, the error "Syntax error: EOL while scanning string literal" popped up
print("/\")
print("\/")
print("\/")
print("/\")
Solution
/
shouldn't be a problem, but \
definitely is, as it's the escape character, and \"
(for example) allows you to display a "
.
You have to use \\
to display a single \
.
Answered By - B. Go