截取用户名前10位
https://www.nowcoder.com/practice/0d3cd14ca4bc4e67ace6399a041e961e
print(input()[0:10]) #结合字符串切片即可
暂无评论,快来抢首评~
相关推荐