be very careful! that variable does not contain an array, contains a list. (python doesn't support arrays by default).
this should be the answers to you question
use list comprehension – the most "pythonic" way to do this
l = ["Engine", "Gearbox", "Tires", "Battery"]
result = [['CAR',i] for i in l]
print(result)
[["CAR", "Engine"], ["CAR", "Gearbox"], ["CAR", "Tires"], ["CAR", "Battery"]]
use a for loop – the most simple way to do this
l,result = ["Engine", "Gearbox", "Tires", "Battery"],list()
for i in l:
result.append(['CAR',i])
print(result)
[["CAR", "Engine"], ["CAR", "Gearbox"], ["CAR", "Tires"], ["CAR", "Battery"]]
use map() – the most cool way to do this
l = ["Engine", "Gearbox", "Tires", "Battery"]
f = lambda x: ['CAR', x]
result = list(map(f,l))
print(result)
[['CAR', 'Engine'], ['CAR', 'Gearbox'], ['CAR', 'Tires'], ['CAR', 'Battery']]