Python-Escapes Flashcards

1
Q

'

A

Single-quote (‘)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

"

A

Double-quote (“)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

\a

A

ASCII bel (BEL)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

\b

A

ASCII backspace (BS)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

\f

A

ASCII formfeed (FF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

\n

A

ASCII linefeed (LF)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

\N{name}

A

Character name name in the Unicode database (Unicode only)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

\r

A

Carriage Return (CR)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

\t

A

Horizontal tab (TAB)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

\uxxxx

A

Character with 16-bit hex value xxxx (Unicode only)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

\Uxxxxxxxx

A

Character with 32-bit hex value xxxxxxxx (Unicode only)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

\v

A

ASCII vertical tab (VT)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

\ooo

A

Character with octal value ooo

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

\xhh

A

Character with hex value hh

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

\

A

Backslash ()

How well did you know this?
1
Not at all
2
3
4
5
Perfectly