10 lines
206 B
Python
10 lines
206 B
Python
f = open("Ressources/NumsDay1.txt", 'r')
|
|
|
|
nums = f.readlines()
|
|
nums = [int(i) for i in nums]
|
|
|
|
for i in nums:
|
|
for j in nums:
|
|
if i + j == 2020:
|
|
print(i*j)
|
|
break |