EXPRESSION STATEMENTS Flashcards

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

Identifier
Eg. my_string

A

Atomic Expressions

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

Literal
(int, float, str)
Eg. 3,
5.6 ,’hello’

A

Atomic Expressions

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

List Display
Eg. [1,’hello’]

A

Atomic Expressions

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

Keywords
Eg. True,
False,
None

A

Atomic Expressions

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

+,-,not

A

Uranry expression

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

Any operator except for ~

A

Binary operator

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

Individual keywords or, and, in, and is

A

Binary operator

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

Keyword pairs not in, is not

A

Binary operator

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

String Subscription

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

List Subscription

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

Tuple Subscription

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

string slicing

18
Q
A

List slicing

19
Q
A

Tuple slicing

20
Q
A