Got a complication with my python code.
print len(list1)
print len(list2)
dikt = dict(zip(list1,list2))
print len(dikt)
Gives:
>> 95
>> 95
>> 26
Why does the dikt give me the value of 26 instead of 95, can add that the elements in the lists are not the same.
I am clueless.
You probably have repeated values in
list1. Adictcannot have duplicated keys.