For Advent of Code 2023 Day2, each line of text represents a game. Each game is a series of observations of colored cubes being pulled from a bag. I'll be asked to first determine which games are possible, and then to find the minimum number of cubes in each bag.
Code 2023 AOC: https://gitlab.com/0xdf/aoc2023
Challenge Link: https://adventofcode.com/2023/day/2
☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf
#adventofcode #python
[00:00] Part 1 description
[01:00] genday / input review
[01:38] Create target
[02:50] Parsing lines
[04:53] Adding check for part1
[05:51] Running part 1
[06:15] Debugging newline issue
[07:10] Solving part 1
[07:26] Part 2 description
[08:08] Adding part 2 to loop
[10:15] Solving Part2
Watch video Day 2: Cube Conundrum [AOC2023 Python] online without registration, duration hours minute second in high quality. This video was added by user 0xdf 02 December 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 44 once and liked it 2 people.