I can reverse list order by using the reversed
iterator or by using ::-1, as shown in this code:
li=[1,2,3]
print(list(reversed(li)))
print(li[::-1])
However, I have not understodde the meaning of the ::
addressing, and I have not found any documentation on this feature (possible due to the fact that searching for :: creates problems).
Can anyone help? Thank you.