diff options
author | Steven Basart <xksteven@users.noreply.github.com> | 2014-07-13 14:45:14 -0400 |
---|---|---|
committer | Steven Basart <xksteven@users.noreply.github.com> | 2014-07-13 14:45:14 -0400 |
commit | 42c93bf407d91cdb549ef5053c3db7f4a58bcd7e (patch) | |
tree | dad69841f6996aab722dfa50536747f8a535d554 /python3.html.markdown | |
parent | bdbff25c5850e41552e5fc517c99fe3933dc591c (diff) |
[python3/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 'python3.html.markdown')
-rw-r--r-- | python3.html.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python3.html.markdown b/python3.html.markdown index eca49862..8d9b8e77 100644 --- a/python3.html.markdown +++ b/python3.html.markdown @@ -426,7 +426,7 @@ def setGlobalX(num): global x print (x) # => 5 x = num # global var x is now set to 6 - print (x) + print (x) # => 6 setX(43) setGlobalX(6) |