0
370= 3^3+7^3+0^3 ; ^ powers, can anyone write python coding to find other that are in 1-1000 range
I want program coding.
2 Answers
0
numbers
0
You could define 370 as a variable such as y and the nunbers raised to powers and/or powers themselves are variables such as x1, x2 etc. then create a function to solve for y = 1 and print x1, x2 etc then loop the function and at the end of the loop y += 1 so every iteration 1 is added to y then give tell it to stop at the 1000