Computer Science, asked by sahilelit, 1 day ago

write a program to create a dictionary from list without using duplicate value​

Answers

Answered by indialover44
0

Answer:

MARK ME THE BRAINLIEST PLZPLZPLZPLZPLZPLZPLZ

Explanation:

dict_1={}

for key,value in zip(list_one,list_two):

   if key not in dict_1:

       dict_1[key]=[value]

   else:

      dict_1[key].append(value)

print(dict_1)

Answered by dhaval1504shah
0

Answer:

create a dictionary from list without using duplicate value

see an example in above picture

Attachments:
Similar questions