EXPRESSION STATEMENTS Flashcards
1
Q
A
2
Q
Identifier
Eg. my_string
A
Atomic Expressions
3
Q
Literal
(int, float, str)
Eg. 3,
5.6 ,’hello’
A
Atomic Expressions
4
Q
List Display
Eg. [1,’hello’]
A
Atomic Expressions
5
Q
Keywords
Eg. True,
False,
None
A
Atomic Expressions
6
Q
A
7
Q
+,-,not
A
Uranry expression
8
Q
A
9
Q
Any operator except for ~
A
Binary operator
10
Q
Individual keywords or, and, in, and is
A
Binary operator
11
Q
Keyword pairs not in, is not
A
Binary operator
12
Q
A
13
Q
A
String Subscription
14
Q
A
List Subscription
15
Q
A
Tuple Subscription