题解 | #字符串分隔#
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
import sys def str_out(str): if len(str)<=8: print(str+'0'*(8-len(str))) else: print(str[0:8]) str_out(str[8:len(str)]) str = input() str_out(str)
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
import sys def str_out(str): if len(str)<=8: print(str+'0'*(8-len(str))) else: print(str[0:8]) str_out(str[8:len(str)]) str = input() str_out(str)
相关推荐