diff options
author | Steven Basart <xksteven@users.noreply.github.com> | 2014-07-13 14:52:31 -0400 |
---|---|---|
committer | Steven Basart <xksteven@users.noreply.github.com> | 2014-07-13 14:52:31 -0400 |
commit | 0dcc5640b6e1a9bba857114e1257a29aa9829ce9 (patch) | |
tree | e0f4716f87adfe1c30734e7856458a3460a138c3 /python.html.markdown | |
parent | 2a9a4f39babe369395de580d0bd7f405a0283803 (diff) |
[python/en] added int div, modulo, and scoping
Added integer or truncation division, the modulo operator which were missing from operators section. Added function scoping in the functions section.
Diffstat (limited to 'python.html.markdown')
-rw-r--r-- | python.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index d1b88b25..aa077e57 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -47,7 +47,7 @@ to Python 2.x. Look for another tour of Python 3 soon! # Truncation or Integer division 5 // 3 # => 1 -5.0 // 3.0 # => 1.0 +5.0 // 3.0 # => 1.0 # works on floats too # Modulo operation 7 % 3 # => 1 |