python sorted排序
字串的连接最长路径查找
http://www.nowcoder.com/questionTerminal/5af18ba2eb45443aa91a11e848aa6723
num = int(input()) in_list = [input() for x in range(num)] in_list_s = [] in_list_s = sorted(in_list) for x in in_list_s: print(x)
字串的连接最长路径查找
http://www.nowcoder.com/questionTerminal/5af18ba2eb45443aa91a11e848aa6723
num = int(input()) in_list = [input() for x in range(num)] in_list_s = [] in_list_s = sorted(in_list) for x in in_list_s: print(x)
相关推荐