j, k = 1, 2def proc1(): j, k = 3, 4 print "j == %d and k == %d" % (j, k) k = 5def proc2(): j = 6 proc1() print "j == %d and k == %d" % (j, k)k = 7proc1()print "j == %d and k == %d" % (j, k)j = 8proc2()print "j == %d and k == %d" % (j, k)
Name (required)
email (will not be published) (required)
Website