whatsthecodeforthat.com

What's the code for Array Indexing in python?

val = arr[0]
arr[0] = val