Advertisement
KAMMAD

Project Euler (3)

Jul 22nd, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. num = 0
  2. for num in range(1, 1000000000):
  3.     if num % 20 == 0 and num % 19 == 0 and num % 18 == 0 and num % 17 == 0 and num % 16 ==0 and num % 15 == 0 and num % 14 == 0 and num % 13 == 0 and num % 12 == 0 and num % 11 == 0:
  4.         print(num)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement