AoC2020/01-1-1.py

3 lines
79 B
Python
Raw Normal View History

2020-12-03 22:48:33 +00:00
l=set(map(int,open("/dev/stdin")))
2020-12-03 23:43:22 +00:00
print([a*b for a in l if (b:=2020-a) in l])