mirror of
https://gitlab.com/MisterBiggs/aoc2020.git
synced 2025-06-16 06:16:39 +00:00
gold star 2
This commit is contained in:
parent
65df27f23f
commit
3bde493573
@ -8,5 +8,6 @@ input = [int(a) for a in input]
|
||||
|
||||
for i in input:
|
||||
for j in input:
|
||||
if i+j == 2020:
|
||||
print(i,j,i*j)
|
||||
for k in input:
|
||||
if i+j+k == 2020:
|
||||
print(i,j,k,i*j*k)
|
||||
|
Loading…
x
Reference in New Issue
Block a user