Skip to content

Conversation

@phiMale
Copy link

@phiMale phiMale commented Oct 29, 2023

Hi Mathias,

this is my attempt at the two adventofcode2018 riddles. I wrote two separate solutions for day01, one of which didn't work. and I have no clue why. maybe we can discuss it in class. I deleted the file "day01_v2.py", but if I understood this git thing correctly, you should be able to access previous commits now, too. let me know.

CU karla

PS: you asked us which soft drinks we liked. I think I'll go with a coke :)

@riederm
Copy link
Owner

riederm commented Oct 29, 2023

Hi Karla,

thx for the PR - and yes you are correct - we cann access every old commit. We take a look at it in class and discuss some strategies on how you find errors in the future.

return
else:
cumlsum_dict[line] = None
cumlsum_inputs += cumlsum_inputs[-1]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but cool that you followed a not-so-obvious idea here! 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants