Update index.md (#31814)

translated print statements
This commit is contained in:
Joan Chirinos
2019-08-13 15:49:37 -04:00
committed by Randell Dawson
parent d3d02afa8d
commit 1bab86f5f7

View File

@ -15,9 +15,9 @@ El valor de retorno sería un número positivo. Incluso si se pasa un número co
## Ejemplo de código
```python
print(abs(3.4)) # prints 3.4
print(abs(-6)) # prints 6
print(abs(3 + 4j)) # prints 5, because |3 + 4j| = 5
print(abs(3.4)) # imprime 3.4
print(abs(-6)) # imprime 6
print(abs(3 + 4j)) # imprime 5, porque |3 + 4j| = 5
```
[🚀 Ejecutar Código](https://repl.it/CL8k/0)
@ -26,4 +26,4 @@ print(abs(3.4)) # prints 3.4
### Fuentes
1. [La matematica es divertida. Accedido: 25 de octubre de 2017](https://www.mathsisfun.com/numbers/absolute-value.html)
1. [La matematica es divertida. Accedido: 25 de octubre de 2017](https://www.mathsisfun.com/numbers/absolute-value.html)