Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- i = 1
- while True:
- for x in range(1, i):
- for y in range(1, i):
- for z in range(1, i):
- if x * x * x + y * y * y == z * z * z:
- return True
- i = i + 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement