题解 | #字符串排序#
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
import sys input_data = sys.stdin.read().strip().splitlines() n = int(input_data[0]) str = input_data[1:n+1] str.sort() for i in str: print(i)
字符串排序
https://www.nowcoder.com/practice/5af18ba2eb45443aa91a11e848aa6723
import sys input_data = sys.stdin.read().strip().splitlines() n = int(input_data[0]) str = input_data[1:n+1] str.sort() for i in str: print(i)
相关推荐