We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eddbf73 commit e8714a0Copy full SHA for e8714a0
original/2.py
@@ -0,0 +1,11 @@
1
+def add_b():
2
+ global b
3
+ b = 42
4
+ def do_global():
5
6
+ b += 10
7
+ print(b)
8
+ do_global()
9
10
+add_b()
11
+print(b)
0 commit comments