水仙花数

70 阅读1分钟

x = 4567 g = x % 10 print(g) s = int(x / 10) % 10 print(s) b = int(x / 100)%10 print(b) q=int(x/1000) print(q)