diff --git a/guide/english/python/abs-function/index.md b/guide/english/python/abs-function/index.md index 8fbbbc39ff..90275845ac 100644 --- a/guide/english/python/abs-function/index.md +++ b/guide/english/python/abs-function/index.md @@ -1,7 +1,8 @@ --- title: Python Abs Function --- -`abs()` is a built-in function in Python 3, to compute the absolute value of any number. The absolute value of a number "means only how far a number is from 0" 1 It takes one argument `x`. The argument can even be a complex number, or a mathematical expression. + +In Python 3,`abs()` is a built-in function that computes the absolute value of any number. The absolute value of a number "means only how far a number is from 0" 1 It takes one argument `x`, and the argument can even be a complex number, in which case its modulus is returned. ## Argument @@ -28,4 +29,4 @@ print(abs(3 - 4j - 3 - 4j)) # prints 8.0, because |(3 - 3) + (- 4j - 4j)| = 8.0 Official Docs ### Sources -1. Math Is Fun. Accessed: October 25, 2017 +1. Math Is Fun. Accessed: October 25, 2017 \ No newline at end of file