Shell result error

sir i getting result of first shell again and again. suppose i write a=2 in first shell and a=“hello” in next shell then i am getting result 2 while using command print (a)