Update day23.py

This commit is contained in:
kamoshi 2020-12-23 18:29:10 +01:00 committed by GitHub
parent 85963260a8
commit f0b9c12b09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@ from typing import Tuple
# Implementation uses generic python list -> pretty inefficient; too slow for part 2
# (it's a pure function though ;) )
def move_cups(cups: list[int]) -> list[int]:
cups_round = cups[4:]
current = cups[0]