Numbers in Python Python has several data types to represent and work with numerical values. The ones we are most interested in are Integers ("whole numbers"), which are of type int . floating point numbers (which have decimal places), have type float . The type of a Python object can be determined with the type() function: In [1]: type ( 1234 ) Out[1]: int In [2]: type ( 3.14159 ) Out[2]: float