10 lines
No EOL
292 B
Python
10 lines
No EOL
292 B
Python
if __name__ == '__main__':
|
|
numbers = []
|
|
with open("numbers.txt") as f:
|
|
numbers = list(map(int, f.readlines()))
|
|
|
|
for x in numbers:
|
|
for y in numbers:
|
|
for z in numbers:
|
|
if x+y+z == 2020:
|
|
print(x*y*z) |