diff options
| author | Gaven Finch <35317008+twigleg2@users.noreply.github.com> | 2019-02-05 12:43:07 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-05 12:43:07 -0700 | 
| commit | 08bd255df5050c946b8e3f0467035d06dd414c9b (patch) | |
| tree | b0faac0f8ed8eca57a27d61aa7c6785cf80f5c15 /python3.html.markdown | |
| parent | 4eb2baaf0cfcc4f4b6d60e63fb66c690ed3be56d (diff) | |
Update python3.html.markdown
Diffstat (limited to 'python3.html.markdown')
| -rw-r--r-- | python3.html.markdown | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/python3.html.markdown b/python3.html.markdown index 1b8fa88e..c4f15867 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -41,10 +41,10 @@ Note: This article applies to Python 3 specifically. Check out [here](http://lea  10 * 2  # => 20  35 / 5  # => 7.0 -# Result of integer division truncated down both for positive and negative. +# Integer division rounds down for both positive and negative numbers.  5 // 3       # => 1 -5.0 // 3.0   # => 1.0 # works on floats too  -5 // 3      # => -2 +5.0 // 3.0   # => 1.0 # works on floats too  -5.0 // 3.0  # => -2.0  # The result of division is always a float | 
