Mega Code Archive
Categories
/
Python
/
Tuple
Convert tuple to a list and sort them
T = ('cc', 'aa', 'dd', 'bb') tmp = list(T) tmp.sort() print tmp