AoC2020/01-2-1.py

3 lines
88 B
Python

l=list(map(int,open(0)))
print([a*b*c for a in l for b in l for c in l if a+b+c==2020])