Reverse sort : Sort : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Sort »

 

Reverse sort


letterList = ['b''c''a''z''y''x']


letterList.sort(reverse=1)
print letterList



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo List
» Sort