Python: How to sort the alphabet in a list without sorted functions?
问题 This is not based on efficiency, and has to be done with only a very very basic knowledge of python (Strings, Tuples, Lists basics) so no importing functions or using sort/sorted. (This is using Python 2.7.3). For example I have a list: unsort_list = ["B", "D", "A", "E", "C"] sort_list = [] sort_list needs to be able to print out: "A, B, C, D, E" I can do it with numbers/integers, is there a similar method for alphabetical order strings? if not what would you recommend (even if it isn't