<gh_stars>1-10

def t():
    for j in range(len(a)):
        for i in range(len(b)):
            c[j] = b[i] + a[j]*2

a = [1., 2., 3.]
b = [4., 5., 6.]
c = [0., 0., 0.]
t()

print(c)

d = [10., 20., 30.]
for i in range(len(a)):
    a[i] = d[i]

t()

print(c)
