str1 = "foo"str2 = str1str1 += "bar"print("str1 = " + str1)print("str2 = " + str2)
Standard input is empty
str1 = foobar str2 = foo
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!