Advertisement
nq1s788

15(2)

Apr 21st, 2024
1,054
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.21 KB | None | 0 0
  1. for a in range(1, 100):
  2.     cnt = 0
  3.     for x in range(1, 100):
  4.         if (a % 45 == 0) and ((750 % x == 0) <= ((not (a % x == 0)) <= (not (120 % x == 0)))):
  5.             cnt += 1
  6.     if cnt == 99:
  7.         print(a)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement