如何从函数返回修改后的矩阵？

``````[['AUD', 0.96],['USD', 0.75],['Euro', 0.67],['GBP', 0.496]]
``````

``````[[10, 9.6, 7.5, 6.7, 4.96], [20, 19.2, 15.0, 13.4, 9.92], [30, 28.799999999999997, 22.5, 20.1, 14.879999999999999], [40, 38.4, 30.0, 26.8, 19.84], [50, 48.0, 37.5, 33.5, 24.8], [60, 57.599999999999994, 45.0, 40.2, 29.759999999999998], [70, 67.2, 52.5, 46.900000000000006, 34.72], [80, 76.8, 60.0, 53.6, 39.68], [90, 86.39999999999999, 67.5, 60.300000000000004, 44.64], [100, 96.0, 75.0, 67.0, 49.6]]
``````

``````def makeTable(lst):
res =[[]]
matrix = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
conversion = [item[1] for item in lst]

for num in m:
res.append(num)
for rate in convers:
res.append(num * rate)
return (res)

result = makeTable([['AUD', 0.96], ['USD',0.75], ['Euro',0.67], ['GBP',0.496]])
print (result)
``````

``````def makeTable(lst):
res =[]
matrix = [10, 20, 30, 40, 50, 60, 70, 80, 90, 100]
conversion = [item[1] for item in lst]

for num in matrix:
m=[num,]

for rate in conversion:
m.append(num * rate)
res.append(m)
return (res)

result = makeTable([['AUD', 0.96], ['USD',0.75], ['Euro',0.67], ['GBP',0.496]])
print (result)
``````

``````m.append(num * rate)
``````

``````m.append(round(num * rate,3))
``````