Reversed list in Python
1
array = [
1
,
2
,
3
]
2
reversed
= array[::-
1
]
# [3, 2, 1]