a = 1b = [a, 2]a = 3print (a, b) c = [3,3,3]d = [c, 4]c[0] = 5print (c, d)
Standard input is empty
3 [1, 2] [5, 3, 3] [[5, 3, 3], 4]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!