题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n=int(input()) li=[] for i in range(n): s= input() li.append(s) li.sort() #print(li) for i in li: print(i)
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n=int(input()) li=[] for i in range(n): s= input() li.append(s) li.sort() #print(li) for i in li: print(i)
相关推荐