a = "hello world"print id(a)print "###"a += "d"print id(a)print "===="a += "d"print id(a)
Standard input is empty
3074331168 ### 3074324864 ==== 3074324864
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!