题解 | #字符串排序#
字符串排序
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]
相关推荐
夜夜还好:我们学校说为了学生就业,更新了课程,我今天大二,上学期在学jsp,html,这学期上来工程实践,要求用springboot+vue,说什么这些技术要我们提前自己准备,要不你把学费还我吧,我给b站充个会员,人家教的比你多