题解 | #字符串分隔#
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
a = input() n = 0 while n < len(a): print(f"{a[n:n+8]:0<8}") n+=8
字符串分隔
https://www.nowcoder.com/practice/d9162298cb5a437aad722fccccaae8a7
a = input() n = 0 while n < len(a): print(f"{a[n:n+8]:0<8}") n+=8
相关推荐