Skip to content

Problem 2

Write a Python function to concatenate the following dictionaries to create a new one.

1
2
3
4
5
6
dic1={1:10, 2:20}
dic2={3:30, 4:40}
dic3={5:50,6:60}

Output:
{1: 10, 2: 20, 3: 30, 4: 40, 5: 50, 6: 60}