Actually, to reverse any list in Python we have many ways and many efficient ways than other languages:-
The first thing you can use the reverse function which is in build function to reverse any data types in Python:-
for i in reversed(array):
Important point to note is, the reversed() function does not return a list. Do get a reversed key you can use list(reversed(array)).
The second method to do this problem which makes Python unique and best at the work compared to other language is by using the slice method:-
L = [0,10,20,40]
To know more about this you can have a look at the following video tutorial:-