Types in Python

In Python, every piece of data we deal with has a type.

Some of the most basic types are:

Some commonly used types that involve collections of things are:

There are additional types that are less commonly discussed in “introductory programming”, but that may end up being useful.

Here are a few of them: