Convert tuple to a list and sort them : Tuple toList : Tuple PYTHON examples


PYTHON examples » Tuple » Tuple toList »

 

Convert tuple to a list and sort them


Convert tuple to a list and sort them


T = ('cc', 'aa', 'dd', 'bb')

tmp = list(T)

tmp.sort()

print tmp

           
       



    Related Scripts with Example Source Code in same category :

Leave a Comment / Note


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


PYTHON examples

 Navioo Tuple
» Tuple toList