We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
if you want to check for all numbers you can check the numbers in the list then you could simply check their sum for any N value. Just change the line "Print(c)" to print(sum(c))
Be sure to check this in your own ide as here it would give a TLE
Project Euler #30: Digit Nth powers
You are viewing a single comment's thread. Return to all comments →
if you want to check for all numbers you can check the numbers in the list then you could simply check their sum for any N value. Just change the line "Print(c)" to print(sum(c)) Be sure to check this in your own ide as here it would give a TLE