题解 | #字符串字符匹配#
字符串分隔
http://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
a=input()
n=int(len(a))
if n%8==0:
for i in range(0,n,8):
print(a[i:i+8])
else:
x=n//8
m=a.ljust(8*x+8,'0')
n=len(m)
for i in range(0,n,8):
print(m[i:i+8])
n=int(len(a))
if n%8==0:
for i in range(0,n,8):
print(a[i:i+8])
else:
x=n//8
m=a.ljust(8*x+8,'0')
n=len(m)
for i in range(0,n,8):
print(m[i:i+8])