Question: python3 (1 point) Write a function called switch(), that takes in an dictionary and switches the keys with the corresponding values and returns the updated
python3

(1 point) Write a function called switch(), that takes in an dictionary and switches the keys with the corresponding values and returns the updated dictionary. Assume that the values are integers. Some dictionary methods: values(), keys(), items(), get ( def switch(dict): 35 >switch(11:3, 4:1, 5:1)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
