# your code goes herearr = [1, 2, 3, 4, 5]arr[0] = arr[0]+arr[2]arr[2] = arr[0]-arr[2]arr[0] = arr[0]-arr[2]print(arr[0])print(arr[2])
Standard input is empty
3 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!