mirror of
https://gitlab.com/MisterBiggs/aoc2020.git
synced 2025-06-15 22:06:39 +00:00
black formatting
This commit is contained in:
parent
d21789ac86
commit
9131a62377
@ -1,4 +1,4 @@
|
||||
input = open('day1\input.txt','r').readlines()
|
||||
input = open("day1\input.txt", "r").readlines()
|
||||
print(input)
|
||||
|
||||
input = [int(a) for a in input]
|
||||
@ -7,5 +7,5 @@ input = [int(a) for a in input]
|
||||
for i in input:
|
||||
for j in input:
|
||||
for k in input:
|
||||
if i+j+k == 2020:
|
||||
print(i,j,k,i*j*k)
|
||||
if i + j + k == 2020:
|
||||
print(i, j, k, i * j * k)
|
||||
|
Loading…
x
Reference in New Issue
Block a user