题解 | #字符串分隔#
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
import sys def print_str(string): if (l := len(string)) <= 8: return print(string+'0'*(8-l)) print(string[:8]) return print_str(string[8:]) for line in sys.stdin: print_str(line.strip() )