Created
December 3, 2016 21:58
-
-
Save markokoleznik/5893e79176a484e202aa5cd15a2b3edd to your computer and use it in GitHub Desktop.
Day 3, Part 1 (Python 3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
print(len(list(filter(lambda y: y[0] + y[1] > y[2], [sorted(list(map(int, x.split()))) for x in open('problem03/input.txt', 'r').read().split('\n')])))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment