1. Home
  2. Docs
  3. Python 101 – Python Programming for Beginners
  4. Standard Types

Standard Types

Standard Types

Python has numerous standard types which are built in to the interpreter.

The principal built-in types are numbers, sequences, mappings, classes, instances and exceptions.

Numbers :

Number data type include, int, float and complex

Sequences :

Sequences are collection of objects, which are accessed by indexing.

Sequences are of iterate type(iterable ), means you can iterate through the sequence.

Sequence types are string (str), list, tuple, unicode, bytearray, buffer, range object etc.

Mapping Type:

Mapping type data have key value pair, by hashing the key the corresponding value is retrieved.

Currently there is only on mapping type is available i.e dict dictionary.

Classes :

Classes provide means to create user defined data types, called objects.

Which contains data and functions.

A class is like a blue print, and can be used create multiple instance of that class.

As everything in Python is an object, class is also an object.


Objects are Python’s abstraction for data. Which contain data and functions.


Instance is a constructed object of the class. The names instance and object are interchangeable

more about class, object and instance later sections.