reversed() returns an "iterator" that can only move along the iterable (read List) in reverse order.
creating an iterator that moves in a certain fashion is much cheaper than actually creating a new list with the elements from the old list in the reverse order.
print m
--
Thanks and best regards,
Vishal Sapre
---
"Life is 10% how you make it, and 90% how you take it"
"बहुजन हिताय, बहुजन सुखाय (Benefit for most people, Happiness for most people.)"
---
Please DONT print this email, unless you really need to.
Save Energy & Paper. Save the Earth.