Advent of Code 2022 Day 4: Camp Cleanup Solutions
It's day 4 of the AoC and here is my solution to the Camp Cleanup puzzle:
with open('input', 'r') as file:
items = list(file.read().split('\n'))
grouped = [[]]
for item in items:
grouped.append([]) if (item == "") else grouped[len(
grouped) - 1].append(int(item))
def solution_1(