Commit 38998b83 by BellCodeEditor

auto save

parent f25effac
Showing with 4 additions and 0 deletions
for num in range(100,999+1):
if pow(int(str(num)[0]),3) + pow(int(str(num)[1]),3) + pow(int(str(num)[2]),3) == num:
print(num)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment