dxnge

13

Nov 2nd, 2021
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.13 KB | None | 0 0
  1. gen = [int(x) for x in open('17-2.txt') if int(x) % 3 == 0 and all(int(x) % d != 0 for d in (7, 17, 19, 27))]
  2. print(len(gen), max(gen))
Advertisement
Add Comment
Please, Sign In to add comment