a = input()
b = input()
l = input()
N = input()
a = int(a)
b = int(b)
l = int(l)
N = int(N)
lenl = 2 * l
lena = (2 * N - 1) * a
lenb = 2*b *(N - 1)
sumlab = lenl + lena + lenb
print(sumlab)
a = int(input())
b = int(input())
l = int(input())
N = int(input())
lenl = 2 * l
lena = (2 * N - 1) * a
lenb = 2*b *(N - 1)
sumlab = lenl + lena + lenb
print(sumlab)
непосредственном передастся сам словарь?
test_dict = {'a': 'b', 'c': 'd'}
print(id(test_dict))
import dict_for
from dict_for import test_dict
print(id(test_dict))
PS D:\Dropbox\Develop\all_tests> python dict_import.py
9434768
9434768
print(hex(id(test_dict)))
PS D:\Dropbox\Develop\all_tests> python dict_import.py
0xb4bd20
0xb4bd20