题解 | #截取字符串#
截取字符串
https://www.nowcoder.com/practice/a30bbc1a0aca4c27b86dd88868de4a4a
while True: try: a,b=input(),input() print(a[:int(b)]) except: break
华为机试(python3) 文章被收录于专栏
少壮不努力,老大勤刷题
截取字符串
https://www.nowcoder.com/practice/a30bbc1a0aca4c27b86dd88868de4a4a
while True: try: a,b=input(),input() print(a[:int(b)]) except: break
少壮不努力,老大勤刷题
相关推荐