summaryrefslogtreecommitdiffhomepage
path: root/zh-tw/python-tw.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'zh-tw/python-tw.html.markdown')
-rw-r--r--zh-tw/python-tw.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-tw/python-tw.html.markdown b/zh-tw/python-tw.html.markdown
index 553181d8..cd7481d7 100644
--- a/zh-tw/python-tw.html.markdown
+++ b/zh-tw/python-tw.html.markdown
@@ -627,7 +627,7 @@ i.age # => raises an AttributeError
# 你可以引入模組來做使用
import math
-print math.sqrt(16) # => 4
+print math.sqrt(16) # => 4.0
# math.sqrt()為取根號
# 你可以只從模組取出特定幾個函式