My Advent of code 2023 Day 1 [python]

Simple logic🙂 using python