Advent of Code 2022 Day 10: Cathode-Ray Tube Solutions
It's day 10 of the AoC and here is my solution to the Cathode-Ray Tube puzzle:
from math import ceil
with open('input', 'r') as file:
input = file.read().split('\n')
instructions = []
cycle = 1
for line in input:
parts = line.split(' ')
instructions.append((cycle, 0))
if len(