From 42c93bf407d91cdb549ef5053c3db7f4a58bcd7e Mon Sep 17 00:00:00 2001 From: Steven Basart Date: Sun, 13 Jul 2014 14:45:14 -0400 Subject: [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. --- python3.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python3.html.markdown') 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) -- cgit v1.2.3