# your code goes here# your code goes herestr1 = "aaa"str2 = str1str1.concat("bbb")p str1p str2str3 = "ccc"str4 = "ccc"str4.concat("ddd")p str3p str4
Standard input is empty
"aaabbb" "aaabbb" "ccc" "cccddd"
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!