题解 | 字符串分隔
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
import sys
strins = input()
lens = len(strins)
h = lens%8
if h == 0:
for n in range(lens//8):
print(strins[n*8:8*(n+1)])
else:
strins += (8-h)*"0"
for n in range(len(strins)//8):
print(strins[n*8:8*(n+1)])
