题解 | #字符串分隔#
进制转换
http://www.nowcoder.com/practice/8f3df50d2b9043208c5eed283d1d4da6
data = [] while True: try: t = input() data.append(t) except: break for t in data: if len(t) == 0: continue if len(t) % 8 > 0: t += '0'*(8-len(t) % 8) eight_num = int(len(t)/8) for i in range(eight_num): print(t[i*8:(i+1)*8])