题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
a=int(input()) list1=[] i=0 while i<a: b=input() list1.append(b) i+=1 list1.sort() for j in list1: print(j)
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
a=int(input()) list1=[] i=0 while i<a: b=input() list1.append(b) i+=1 list1.sort() for j in list1: print(j)
相关推荐