Hi All,
I have 3 dictionaries. I am trying to compare dict1 and dict2 , remove the same entries from dict1 and sending as an output to dict3.
Dict1= ["Test1", "testing"] ["Test2", "testing76"] ["Test3", "testin67g"] ["Test4", "tests67ing"] ["Test5", "tessadting"] ["Test8", "tessadting"]
Dict2= ["Test1", "testin67g"] ["Test2", "testing 67"] ["test3", "testing6"] ["test4", "testing 213"] ["test7", "testing 21"]
Dict3= ["Test5", "tessadting"] ["Test8", "tessadting"]-------->Output needed
My line of code is,
Dictionary
But i dont get the correct output. Kindly help.
Thanks
Jo
VulpesPosted Apr 13, 2013, 8:49 AM
This worked fine for me:
The output is:
joPosted Apr 15, 2013, 1:19 AM
Thank you for your response.
Yes you are right. My code is correct, my dictionary returned different values.
I have changed the query. Now its working fine.
Thanks,
Jo