 # Python Numbers :

### Python Numbers :

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

#### Example :

 ``` x = 1 y = 4.8 z = 1j print("python number types :\n") print(type(x)) print(type(y)) print(type(z)) input() ```

#### Output : Note : To verify the type of any object in Python, use the type() function.

### int :

int, or integer, is a whole number, positive or negative, without decimals, of unlimited length.

#### Example :

 ``` x = 1 y = 11796348708246 z = -77885522 print(type(x)) print(type(y)) print(type(z)) input() ```

#### Output : ### float :

float, or "floating point number" is a number, positive or negative, containing one or more decimals.

#### Example :

 ``` x = 2.0 y = 10.50 z = -50.80 print(type(x)) print(type(y)) print(type(z)) input() ```

#### Output : ### complex :

Complex numbers are written with a " j " as the imaginary part.

#### Example :

 ``` x = 4+10j y = 7j z = -15j print(type(x)) print(type(y)) print(type(z)) input() ```

#### Output : 