Mega Code Archive

 
Categories / Python / List
 

List reverse()

a = [66.25, 333, 333, 1, 1234.5] a.reverse() print a