| Author | Michael Robinson |
| Course | Python |
| Topic | dataTypes |
| Program | dataTypes.py |
| int | Represents integer numbers. |
| float | Represents floating-point numbers (decimal numbers). |
| complex | Represents complex numbers. |
| first | = 999 # x is automatically assumed as an integer |
| second | = -99 # y is also an integer |
| third | = 5431292363456734890 # Python integers can be arbitrarily large |
| gpa | = 4.00 # gpa is automatically recognized as a float variable |
| height | = 5.9 # height is automatically recognized as a float variable |
| weight | = 189.6 # weight is automatically recognized as a float variable |
| int | Represents integer numbers. For example: 99, -156, 1020345867789456 |
| float | Represents floating-point numbers. For example: 3.12345, -0.999, 4.00 |
| str | Represents strings, which are sequences of characters. For example: '!!Life is good', "Python is great!!". |
| bool | Represents boolean values, which can be either True or False |
| list | Represents ordered, mutable sequences of items. |
| tuple | Represents ordered, immutable sequences of items. |
| range | Represents a sequence of numbers, often used in loops. |
| list | Represents ordered, *mutable* sequences of items. |
| mutable | Allows to change, add or remove data in a data structure. |
| tuple | Represents ordered, immutable sequences of items. |
| range | Represents a sequence of numbers, often used in loops. |