Readability (#33134)

This commit is contained in:
Kyle Cheng
2019-02-16 20:48:36 -08:00
committed by Jingyi Ding
parent ef369d5241
commit 38777ef429

View File

@ -16,8 +16,8 @@ localeTitle: Python Abs函数
```python ```python
print(abs(3.4)) # prints 3.4 print(abs(3.4)) # prints 3.4
print(abs(-6)) # prints 6 print(abs(-6)) # prints 6
print(abs(3 + 4j)) # prints 5, because |3 + 4j| = 5 print(abs(3 + 4j)) # prints 5, because |3 + 4j| = 5
``` ```
[🚀运行代码](https://repl.it/CL8k/0) [🚀运行代码](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) 1. [数学很有趣。访问时间2017年10月25日](https://www.mathsisfun.com/numbers/absolute-value.html)