Facebook
From Nilay Özkan, 1 Month ago, written in Python.
Embed
Download Paste or View Raw
Hits: 133
  1. for i in range(501, 601, 2):
  2.     if i % 3 != 0 and i % 5 != 0 and i % 7 != 0 and i % 11 != 0 and i % 13 != 0 and i % 17 != 0 and i % 19 != 0 and i % 23 != 0:
  3.         print(i)