y = 100 a = int( input( “百位” ) ) b = int( input( “十位” ) ) c = int( input( “个位” ) ) while (y <= 999) : a = y // 100 b = y // 10 % 10 c = y % 10 if a * a * a + b * b * b + c * c * c == y : print( “水仙花数:” + y ) print( y , end=’ ’ )
代码:y = 100a = int( input( “百位” ) )b = int( input( “十位” ) )c = int( input( “个位” ) )while (y <= 999) :a = y // 100b = y // 10 % 10c = y % 10if a * a * a + b * b * b + c * c * c == y :print(...