dxnge

tsk 7

Nov 8th, 2021
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.23 KB | None | 0 0
  1. def smpl(x):
  2.     for d in range(2, int(x**0.5)+1):
  3.         if x % d == 0:
  4.             return False
  5.     return True
  6. cnt = 1
  7. for i in range(194441, 196501):
  8.     if smpl(i) and i % 100 == 93:
  9.         print(cnt, i)
  10.         cnt += 1
  11.  
Advertisement
Add Comment
Please, Sign In to add comment