What I have is
brand = ['Apple','Oppo','Huawei']
model = ['IPhone SE', 'K10 5G', 'Honor X7']
price = ['400','380','160']
and I was looking for the output to be
brand : Apple
model : Iphone SE
price : '400'
brand : Oppo
model : K10 5G
price : '380'
brand : Huawei
model : Honor X7
price : '160'
I tried
brand = ['Apple','Oppo','Huawei']
model = ['IPhone SE', 'K10 5G', 'Honor X7']
price = ['400','380','160']
for i in brand:
for j in model:
for k in price:
print('brand : ' + i + '\nmodel : ' + i + '\nprice : ' + k)
error says that it can only concatenate from str not list.
would appreciate any help, I am not good in dealing with string :/