Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def foo():
- global x
- x = 2
- def bar():
- x = 3
- foo()
- bar()
- print x
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement