题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n = int(input()) ls = [] for _ in range(0,n): ls.append(input()) ls.sort() for k in ls: print(k)
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
n = int(input()) ls = [] for _ in range(0,n): ls.append(input()) ls.sort() for k in ls: print(k)
相关推荐