
Python Challenge 1
There is a dictionary d1, Check if the dictionary has that key then print the key and value of that dictionary.
Example: d1={‘abc’:’123′,’bcd’:’234′,’ace’:’213′,’def’:’2341′}
key to found ‘abc’
Python Challenge 2
You have marks of students in a dictionary where keys are Names of students and values are their marks. Print dictionary of students whose marks are greater than 180.
Python Challenge 3
You have two dictionaries ,print keys which are in both dictionaries along with their values.
Solutions will be updated tomorrow . If you are able to solve the challenge comment below.
Leave a Reply