Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 0
- b = 0
- print "Global A is hier: %s" % a
- print "Global B is hier: %s" % b
- def addupGlobalA():
- a += 1
- def addupGlobalB():
- b += 1
- addupGlobalA()
- addupGlobalB()
- print "Global A is hier: %s" % a
- print "Global B is hier: %s" % b
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement