题解 | 字符串排序
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n = int(input())
list1 = []
for i in range(n):
str = input()
list1.append(str)
for result in sorted(list1):
print(result)
用数组写的,示例是测试过了,但总感觉哪里有些问题,请各位大佬帮忙看一下
