Seishin's Life
  • Home
  • About Me
Sign in Subscribe

day2

Advent of Code 2022: Day 2 Solutions

Advent of Code 2022: Day 2 Solutions

The time of the year has come when the Advent of Code begins! I want to share with you my Python solutions to Day 2: Rock Paper Scissors puzzle: with open('input') as file: rounds = file.read().split('\n') def solution_1(): return sum( map(lambda round: { 'A X':
Atanas Dimitrov Dec 2, 2022

Subscribe to Seishin's Life

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Seishin's Life © 2023. Powered by Ghost