On Fri, 4 Mar 2016 09:51 am, vlyamt...@gmail.com wrote:

> i have list of strings "data" and i am trying to build reverse list data1

Use a slice with a negative step-size and defaults for the start and end
positions.


data1 = data[::-1]




-- 
Steven

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to