Question: Python Write a function that will take two dictionaries (d1 and d2) and return the Intersection set of the keys in those dictionaries as a
Write a function that will take two dictionaries (d1 and d2) and return the Intersection set of the keys in those dictionaries as a list. #-use the defined function here def key_Intersection(d2, d2): pass #return the key intersection set d1 = {"kl": -1, -'K2":2, '3':-3) d2 - ("k": 2, "62":5,"K":0} key_intersection(d, d2) returns ['k2') for above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
