summaryrefslogtreecommitdiffhomepage
path: root/python3.html.markdown
diff options
context:
space:
mode:
Diffstat (limited to 'python3.html.markdown')
-rw-r--r--python3.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown
index 6e901b6a..dc972196 100644
--- a/python3.html.markdown
+++ b/python3.html.markdown
@@ -40,7 +40,7 @@ Note: This article applies to Python 3 specifically. Check out the other tutoria
# Result of integer division truncated down both for positive and negative.
5 // 3 # => 1
-5.0 // 3.0 # => 1.0
+5.0 // 3.0 # => 1.0 # works on floats too
-5 // 3 # => -2
-5.0 // 3.0 # => -2.0