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

Python
Python Write a function that will take two dictionaries (d1 and d2)

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!