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