题解 | #输入整型数组和排序标识,对其元素按照升序或降序进行排序#
截取字符串
http://www.nowcoder.com/practice/a30bbc1a0aca4c27b86dd88868de4a4a
print(''.join(list(input())[0:int(input())]))
截取字符串
http://www.nowcoder.com/practice/a30bbc1a0aca4c27b86dd88868de4a4a
print(''.join(list(input())[0:int(input())]))
相关推荐