Отменить массив пирога
array=[0,10,20,40]
reversed_array=array[::-1]
Tremendous Enceladus
array=[0,10,20,40]
reversed_array=array[::-1]
>>> array=[0,10,20,40]
>>> for i in reversed(array):
... print(i)