dxnge

9

Oct 13th, 2021
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.22 KB | None | 0 0
  1. nums = []
  2. for i in range(2048, 18193):
  3.     if 8192 < i < 12048:
  4.         continue
  5.     if i % 7 == 0 and i % 11 != 0 and i % 23 != 0 and i % 10 != 8:
  6.         nums.append(i)
  7.  
  8. print(len(nums))
  9. print(max(nums) - min(nums))
Advertisement
Add Comment
Please, Sign In to add comment