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