Working with numbers in python

preview_player
Показать описание
Working with numbers in python

Number data types in python store numeric values. They are immutable data types, means that changing the value of a number data type in python results in a newly allocated python object.

Number objects in python are created when you assign a value to them. Each python number cab be deleted by using the del statement.

Python supports four different numerical types are

int (signed integers)

long (long integers )

float (floating point real values)

complex (complex numbers)
Рекомендации по теме