Yana Srivastava - Python Exp 2.3
Yana Srivastava - Python Exp 2.3
Aim:
Write a python code that will implement basic concepts of dictionaries.
Task to be done:
1. Write a Python program to combine two dictionary adding values for
common keys. d1 = {'a': 100, 'b': 200, 'c':300},d2 = {'a': 300, 'b': 200,
'd':400}.
2. Write a Python program to find the highest 3 values of corresponding keys
in a dictionary.
Result / Output:
1. To combine two dictionary adding values for common keys: