Skip to content

Instantly share code, notes, and snippets.

@pawlos

pawlos/advent_of_code_d23_p2.py Secret

Created Dec 23, 2017
Embed
What would you like to do?
Solution to Day 23: Coprocessor Conflagration
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
You can’t perform that action at this time.