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