Backward iteration in Python List Comprehension

PHOTO EMBED

Tue Jun 29 2021 14:36:51 GMT+0000 (UTC)

Saved by @hbroph123

list = ['Mon', 'Tue', 'Wed', 'Thu']
for i in list[::-1]:
   print(i)
content_copyCOPY

https://www.tutorialspoint.com/backward-iteration-in-python