Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- im_outside = 42
- def afunction():
- print "Here is an outside variable as seen from a function: %d" % im_outside
- print "Here is a variable I can see: %d" % im_outside
- afunction()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement