data types Flashcards

1
Q

Integer

A

positive or negative WHOLE numbers

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

Float

A

floating point numbers (numbers with decimals)

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

Boolean

A

a true or false value

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

String

A

a collection of one or more characters put in a single, double, or triple quotation marks

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

List

A

an ordered collection of one or more data items, not necessarily of the same type, put in square brackets

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

Tuple

A

an order collection of one or more data items, not necessarily of the same type, put in parentheses ()

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

Dictionary

A

an unordered collection of data in a key:value pair form enclosed in curly brackets

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