标签:color bubuko http input 分享 src alt code inpu
1 a = int(input(">>")) 2 n = 1 3 while True: 4 b = a%10 5 print(b,end=‘,‘) 6 a = a//10 7 if a != 0: 8 n += 1 9 else: 10 break 11 print(‘这是‘,n,‘位数‘)
标签:color bubuko http input 分享 src alt code inpu
原文地址:https://www.cnblogs.com/JerryZao/p/9404554.html