Data in python can take the following types:
| Data Type | Description |
|---|---|
int
|
An integer. |
float
|
A floating point number (e.g. a decimal). |
list
|
A list of items comma separated inside square brackets. |
tuple
|
A special type of list that cannot be changed. |
str
|
A series of characters and can be treated like a list of characters. |
bool
|
A Boolean value that is either true or false. |
dict
|
A dictionary of key: value pairs. |
set
|
An unordered selection of unique items defined with curly brackets. |