Dave Angel wrote:
Krishna Pacifici wrote:
Hi,
I want to be able to add multiple new values to a key in a dictionary.
I have tried the following:
sec_dict_clean=
{88: [87, 89, 78, 98], 58: [57, 59, 48, 68], 69: [79], 95: [94, 96, 85]}
for i in range(len(sec_dict_clean.values())):
for j in
Krishna Pacifici wrote:
Hi,
I want to be able to add multiple new values to a key in a dictionary.
I have tried the following:
sec_dict_clean=
{88: [87, 89, 78, 98], 58: [57, 59, 48, 68], 69: [79], 95: [94, 96, 85]}
for i in range(len(sec_dict_clean.values())):
for j in range(len(sec_dict_