[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.
This commit is contained in:
Steven Basart 2014-07-13 14:45:14 -04:00
parent bdbff25c58
commit 42c93bf407

View File

@ -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)