advent-of-code-2023/day-1
2023-12-05 07:41:42 -06:00
..
day-1.py Add day 1 part 1 (in python) 2023-12-05 07:41:42 -06:00
input Add day 1 part 1 (in python) 2023-12-05 07:41:42 -06:00
readme.md Add day 1 part 1 (in python) 2023-12-05 07:41:42 -06:00

  1. Combine the first and last digit on each line to create a single two-digit number.
  2. Get the sum of all of those

Input:

1abc2
pqr3stu8vwx
a1b2c3d4e5f
treb7uchet

(12, 38, 15, 77)

Output:

142