-
-
Save pawlos/dfce8ab3fe7a9fce529f51f33d5a1b1a to your computer and use it in GitHub Desktop.
Solution to Day 23: Coprocessor Conflagration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h = 0 | |
not_prime = False | |
for b in range(109300,126300+1,17): | |
not_prime = False | |
for d in range(2,b): | |
if b % d == 0: | |
not_prime = True | |
break | |
if not_prime: | |
h += 1 | |
print h |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment