9 lines
213 B
Python
9 lines
213 B
Python
from helper import load_lists
|
|
|
|
list_1, list_2 = load_lists()
|
|
result = 0
|
|
for i in range(len(list_2)):
|
|
id_1 = int(list_1.pop(0))
|
|
id_2 = int(list_2.pop(0))
|
|
result += abs(id_1 - id_2)
|
|
print(result) |