111.py 127 Bytes Edit 1 2 3 4 5 6 7 8 i=input("请输入一个三位整数") i=int(i) a=i//100 d=i-a*100 b=d//10 c=d-b*10 print("百:",a,"十:",b,"个:",c)