I have 1 dictionary and 1 array. My task is to run through dictionary and create 5 separete dictionaries where key "email" will be replaced with array values. All my attempts to create loops just use the last array's value so there is only one dict. How to loop it correctly to solve it
data = {
"company": "Company",
"phone": "+1111111",
"email": "[email protected]",
"password1": "defaultpassword",
"password2": "defaultpassword",
"terms_agree": True,
"first_name": "TestUser",
"last_name": "One"
}
emails_list = ['[email protected]',
'[email protected]',
'[email protected]',
'[email protected]',
'[email protected]'
]