五道小作业:
求水仙花数 for a in range(100,1000): x = a % 10 # 个位 y = a // 10 % 10 # 十位 z = a // 100 # 百位 if a == x**3 + y**3 + z**3: print(a)