Escape Sequenses Flashcards

Teaches about Escape Sequences in python

1
Q

\

A

Backlash ()

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

'

A

Single-quote (‘)

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

"

A

Double-quote (“)

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

\a

A

ASCII bell (BEL)

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

\b

A

ASCII backspace (BS)

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

\f

A

ASCII formfeed (FF)

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

\n

A

ASCII linefeed (LF)

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

\N{name}

A

Character named name in the Unicode database (Unicode only)

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

\r

A

Carriage Return (CR)

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

\t

A

Horizontal Tab (TAB)

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

\uxxxx

A

Character with 16-bit hex value xxxx

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

\Uxxxxxxxx

A

Character with 32-bit hex value xxxxxxxx

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

\v

A

ASCII vertical tab (VT)

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

\ooo

A

Character with octal value ooo

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

\xhh

A

Character with hex value hh

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