题解 | #字符串分隔#
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
while True: try: l = input() for i in range(0, len(l), 8): print("{:0<8}".format(l[i:i+8])) except: break
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
while True: try: l = input() for i in range(0, len(l), 8): print("{:0<8}".format(l[i:i+8])) except: break
相关推荐