---
title: Python Numeric Types
localeTitle: Tipos Numéricos de Python
---
Los [tipos numéricos](https://docs.python.org/3/library/stdtypes.html#numeric-types-int-float-complex) para Python son:

*   enteros ( `int` )

#### Ejemplos:

```py
print(1) 
 print(100) 
 print(8435367) 
```

*   números de punto flotante ( `float` )
    *   [constructor](https://docs.python.org/3/library/functions.html#float)

#### Ejemplos:

```py
print(1.5) 
 print(46.84) 
 print(84357.435) 
```

*   números complejos
    *   [constructor](https://docs.python.org/3/library/functions.html#complex)

La biblioteca estándar agrega tipos numéricos para

*   [fracciones](https://docs.python.org/3/library/fractions.html#module-fractions)
*   [decimales](https://docs.python.org/3/library/decimal.html#module-decimal)

Los objetos numéricos se crean a partir de literales o como resultado de funciones y operadores. La sintaxis de los literales numéricos está bien [documentada](https://docs.python.org/3/reference/lexical_analysis.html#numeric-literals) .