mirror of
https://gitlab.com/MisterBiggs/aoc2020.git
synced 2025-08-03 12:11:28 +00:00
gold star 2
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user