1
0
mirror of https://gitlab.com/MisterBiggs/aoc2020.git synced 2025-06-16 14:26:40 +00:00

gold star 2

This commit is contained in:
Anson 2020-12-07 17:21:11 -07:00
parent 65df27f23f
commit 3bde493573

View File

@ -8,5 +8,6 @@ input = [int(a) for a in input]
for i in input: for i in input:
for j in input: for j in input:
if i+j == 2020: for k in input:
print(i,j,i*j) if i+j+k == 2020:
print(i,j,k,i*j*k)