题解 | #截取用户名前10位#
截取用户名前10位
https://www.nowcoder.com/practice/0d3cd14ca4bc4e67ace6399a041e961e
import sys
def cut_length(b:str):
for i in range(0,10):
print(b[i],end="")
a=cut_length(input())
截取用户名前10位
https://www.nowcoder.com/practice/0d3cd14ca4bc4e67ace6399a041e961e
import sys
def cut_length(b:str):
for i in range(0,10):
print(b[i],end="")
a=cut_length(input())
相关推荐