7 lines
248 B
Text
7 lines
248 B
Text
V base = [‘name’ = ‘Rocket Skates’, ‘price’ = ‘12.75’, ‘color’ = ‘yellow’]
|
||
V update = [‘price’ = ‘15.25’, ‘color’ = ‘red’, ‘year’ = ‘1974’]
|
||
|
||
V result = copy(base)
|
||
result.update(update)
|
||
|
||
print(result)
|