reverse only first three numbers in a list python code example
Example: how to revert a list python
>>> array=[0,10,20,40]
>>> for i in reversed(array):
... print(i)
>>> array=[0,10,20,40]
>>> for i in reversed(array):
... print(i)