Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nums = []
- for i in range(2048, 18193):
- if 8192 < i < 12048:
- continue
- if i % 7 == 0 and i % 11 != 0 and i % 23 != 0 and i % 10 != 8:
- nums.append(i)
- print(len(nums))
- print(max(nums) - min(nums))
Advertisement
Add Comment
Please, Sign In to add comment