Skip to content

Instantly share code, notes, and snippets.

View spielkind's full-sized avatar

Reik Keutterling spielkind

  • DTAG
  • Berlin, Germany
View GitHub Profile
@spielkind
spielkind / day1.py
Last active December 6, 2021 14:03
#!/bin/python
with open('day1.txt') as f:
measurements= [int(x) for x in f]
def compare(n):
return sum(1 for i in range(len(n)) if n[i]>n[i-1])
print("Part One: ",compare(measurements))

Keybase proof

I hereby claim:

  • I am spielkind on github.
  • I am spielkind (https://keybase.io/spielkind) on keybase.
  • I have a public key whose fingerprint is F83D DFE9 8059 35BF E12D B96A 4672 D4DB C014 5952

To claim this, I am signing this object: