summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorSpurlow <Spurlow@users.noreply.github.com>2015-11-27 11:39:14 +0700
committerSpurlow <Spurlow@users.noreply.github.com>2015-11-27 11:39:14 +0700
commit812fa4bab4f784df75de4ddd1c4c67eb214b2f88 (patch)
tree5692ca79ee9c8b7d2264f0deae763bc8211c2d19 /zh-cn
parent5fcdfdf06c417b6e7cfd9c23e82f7b48577b5820 (diff)
parent7933ea3ce029a3418bac04210e0dd7f0f27e275d (diff)
Merge pull request #2035 from Gnomino/master
[python3/cs] [python3/es] [python3/fr] [python3/ru] [python3/tr] [python3/zh] Corrects the result of math.sqrt(16)
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/python3-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/python3-cn.html.markdown b/zh-cn/python3-cn.html.markdown
index c223297c..76455a46 100644
--- a/zh-cn/python3-cn.html.markdown
+++ b/zh-cn/python3-cn.html.markdown
@@ -535,7 +535,7 @@ Human.grunt() # => "*grunt*"
# 用import导入模块
import math
-print(math.sqrt(16)) # => 4
+print(math.sqrt(16)) # => 4.0
# 也可以从模块中导入个别值
from math import ceil, floor