dxnge

tsk 5

Nov 8th, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. for i in range(81234, 134689+1):
  2.     ds = set()
  3.     for d in range(2, int(i**0.5)+1):
  4.         if i % d == 0:
  5.             ds |= {d, i // d}
  6.     if len(ds) == 3:
  7.         print(sorted(ds))
  8.  
Advertisement
Add Comment
Please, Sign In to add comment