题解 | #字符串分隔#
字符串分隔
http://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
str = input()
str_list = []
#先补0
if len(str) % 8 != 0:
for i in range(8 - (len(str) % 8)):
str = str+'0'
for i in range(len(str)):
str_list.append(str[i])
if (i+1) % 8 == 0:
print(''.join(str_list))
str_list = []