Python: Format Characters Flashcards

1
Q

%d, %i

A

Signed integer decimal

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

%o

A

Signed octal value

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

%x

A

Signed hexadecimal

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

%e

A

Floating point exponential format

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

%f

A

Floating point decimal format

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

%c

A

Single character

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

%r

A

Raw string

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

%s

A

String

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

’’’, “””

A

Free-form strings

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