summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--python.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown
index df1ca6f2..651927a7 100644
--- a/python.html.markdown
+++ b/python.html.markdown
@@ -661,7 +661,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