for x in range(1,3): #遍历x的取值(1-2)
for y in range(0,10): #遍历y的取值(0-9)
for z in range(0,10): #遍历z的取值(0-9)
s1=x*100+y*10+z #s1的表示
s2= x**3 + y**3 + z**3 #或者s2=pow(x,3)+pow(y,3)+pow(z,3)
if s1==s2:
print(s2)
这个只能输出153,是需要插入什么函数吗?