summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-11-08 21:38:11 +0100
committerven <vendethiel@hotmail.fr>2015-11-08 21:38:11 +0100
commita1ed02d6fad2b39137f52c6a04264a59e237d747 (patch)
treee0a1b1686c144ab34670343cf29b6647d89a1792
parent8b041236b5e378ae5fe0c9ccfd2a2bb6d08412a4 (diff)
parent646eb2a2a19c4cecc20f680c959dd42da1a2961f (diff)
Merge pull request #2009 from fighterleslie/pr-math.sqrt
[python3/en] Correct math.sqrt(16)
-rw-r--r--python3.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 2398e7ac..1f9d0e42 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -689,7 +689,7 @@ i.age # => raises an AttributeError
# You can import modules
import math
-print(math.sqrt(16)) # => 4
+print(math.sqrt(16)) # => 4.0
# You can get specific functions from a module
from math import ceil, floor