1 # SOP 式的排版:
   2 [ p for p in range(2, N) 
   3     if 0 not in [ p%d 
   4         for d in range(2, int(sqrt(p))+1)
   5                 ] 
   6 ]