Python

Data structures

Lists

i = l.index(value)  # get index

l = l[::-1]  # reverse a list