Question: python 1. (5 points) Write a function to check if all the key:value pairs in the given dictionary are of the form 2 : 2?

python python 1. (5 points) Write a function to check if all the

1. (5 points) Write a function to check if all the key:value pairs in the given dictionary are of the form 2 : 2? + 3. Test your function with the following program. print(check({1: 4, 2: 7, 5: 28, 4: 19))) print(check({1: 4, 7: 2, 5: 28, 4: 19))) print(check({1: 4, 7: 2, 5: 28, -4: 19))) print(check({0: 3))) You should get the following output True False False True Process finished with exit code 0

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!