unsortedList = list(["XYZ","ABC"])

sortedList = unsortedList.sort()
print sortedList


Why this return None?
How do I get return as ["ABC", "XYZ"]?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to