Category Archives: Python Numbers

Python number data type is the data type which is used to store the numeric data. You can perform arithmetic operations on this data type. When you assign a new value to numeric data type a new object gets created. This is immutable data type, Hence as soon as you try to change its value, new object gets created.
– Python Integer.
– Python Float
– Python Complex numbers
are the basic three sub types of number data type.

Number data type and Type Conversion in python

What is Number data type and type conversion in python? To start with the python number data type and type conversion, Let’s first see Number data type. Python number data type is the data type which is used to store the numeric data. You can perform arithmetic operations on this data type. When you assign a new value to numeric data type a new object gets created. This is immutable data type, Hence as soon as you try to change its value, new object gets created.

Read More