Escape Characters Flashcards
1
Q
Special character that is preceded with a backslash ()
A
Escape character
2
Q
Newline escape character that causes output to advance to the next line
A
\n
3
Q
What will print to the console?
print(‘One\nTwo\nThree’)
A
One
Two
Three
4
Q
Causes output to skip over to the next horizontal tab position
A
\t
5
Q
Causes a single quote mark to be printed
A
\’
6
Q
Causes a double quote mark to be printed
A
\”
7
Q
Causes a backslash character to be printed
A
\