题解 | #字符串分隔#
字符串分隔
http://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
while True: #不要停
try:
s = input()
for i in range(0, len(s), 8):
print("{:0<8}".format(s[i:i+8])) #左对齐,长度为8,用0填充
except:
break