题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
num = int(input())
while True:
try:
list = []
for i in range(num):
ele = input()
list.append(ele)
list.sort()
for i in list:
print(i)
except:
break
