Mega Code Archive
Categories
/
Python Tutorial
/
List
Reverse list
letterList = ['b', 'c', 'a', 'z', 'y', 'x'] letterList.reverse() print letterList