I'm trying to put values in a dictionary using following for loop. But python is throwing value error.
ValueError: too many values to unpack (expected 2)
acc_list = [KP_mse, Eminem_mse, shakira_mse, LMFAO_mse, Psy_mse]
artist_name= ['Katty Perry', 'Eminem', 'Shakira', 'LMFAO', 'Psy']
dict = {}
for (name,n) in (artist_name, acc_list):
dict[name] =acc_list[n]
zip()? Additionally, are those unquoted things variables? - Jan