-
-
Save parzibyte/dffa57700bcd5a56c0f805c1b124e78f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Con la función "abs" de valor absoluto también es posible | |
numero_negativo = -100 | |
positivo = abs(numero_negativo) | |
print( | |
f"El número negativo es {numero_negativo} y convertido a positivo con abs es {positivo}") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment