Numbers represent quantity. In Python, everything is an object including numbers. Python supports integers, floating-point numbers and complex numbers. Integer An integer is a whole number with no decimal places. The name for the integer data type is int. Python 2 has two integer types — int and long. …