| Data types | Description | Example |
|---|---|---|
| Integer | A signed whole number | 1, 1234, -15 |
| Float (real) | A signed number with a decimal point | 1.0, 2.345, -54.321 |
| Boolean | The logical values TRUE and FALSE | TRUE, FALSE |
| String | A sequence of zero or more characters | “hello”, “1234”, “A-levels” |
To check data type of a variable, use print(type(____))
Functions like int( ), float( ) and str( ) can be used to convert between data types