how does python variable scoping works?,example2()