diff --git a/guide/chinese/python/abs-function/index.md b/guide/chinese/python/abs-function/index.md index 27b4f68431..fca52541be 100644 --- a/guide/chinese/python/abs-function/index.md +++ b/guide/chinese/python/abs-function/index.md @@ -16,8 +16,8 @@ localeTitle: Python Abs函数 ```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(-6)) # prints 6 +print(abs(3 + 4j)) # prints 5, because |3 + 4j| = 5 ``` [🚀运行代码](https://repl.it/CL8k/0) @@ -26,4 +26,4 @@ print(abs(3.4)) # prints 3.4 ### 来源 -1. [数学很有趣。访问时间:2017年10月25日](https://www.mathsisfun.com/numbers/absolute-value.html) \ No newline at end of file +1. [数学很有趣。访问时间:2017年10月25日](https://www.mathsisfun.com/numbers/absolute-value.html)