Sorting a List : Sort : List PYTHON TUTORIALS


PYTHON TUTORIALS » List » Sort »

 

Sorting a List


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

print letterList
letterList.sort()
print letterList



Leave a Comment / Note


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


PYTHON TUTORIALS

 Navioo List
» Sort