My Advent of Code solutions in Python. kevinyap.ca/2019/12/going-fast-in-advent-of-code/
advent-of-code python
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update utils for Python 3

+1 -1
+1 -1
2022/utils.py
··· 350 350 yield i 351 351 352 352 # Mark factors as non-prime 353 - for j in xrange(i * i, n, i): # NOQA 353 + for j in range(i * i, n, i): # NOQA 354 354 _primes[j] = False 355 355 356 356