题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
lenth=int(input())
a=[]
for i in range(lenth):
a.append(input())
aa = sorted(a)
for each in aa:
print(each,end='\n')
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
lenth=int(input())
a=[]
for i in range(lenth):
a.append(input())
aa = sorted(a)
for each in aa:
print(each,end='\n')
相关推荐