Compare commits

...

3 Commits

  1. 2
      2022/1.py
  2. 2
      2022/2.py
  3. 2
      2022/3.py
  4. 4
      2023/1a.py
  5. 2
      2023/1b.py
  6. 2
      2023/2.py
  7. 4
      README.md

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
elves = []
summa = 0

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
sum = 0
sum2 = 0

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
letters = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
sum = 0

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
sum = 0
@ -15,6 +15,6 @@ for l in lines:
last = l[-i-1]
lastFound = True
if firstFound and lastFound:
continue
break
sum += int(first + last)
print(sum)

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
sum = 0
words = ["zero", "one", "two", "three", "four", "five", "six", "seven", "eight", "nine"]

@ -1,4 +1,4 @@
lines = [i for i in open("input.txt", 'r').read().splitlines()]
lines = open("input.txt", 'r').read().splitlines()
sum = 0
sum2 = 0

@ -2,8 +2,8 @@ my solutions for the [Advent of Code](https://adventofcode.com/)
in progress:\
2021: 12/25\
2022: 1/25\
2023: 1/25
2022: 7/25\
2023: 3/25
planned:\
2020\

Loading…
Cancel
Save