Question: please solve both the questions 1. Write a Python script to sort (ascending and descending) a dictionary by value. 2. Write a Python script to

 please solve both the questions 1. Write a Python script to

please solve both the questions

1. Write a Python script to sort (ascending and descending) a dictionary by value. 2. Write a Python script to concatenate following dictionaries to create a new one. Go to the editor Sample Dictionary: dic1 ={1:10, 2:20} dic2={3:30, 4:40} dic3={5:50,6:60} 1 Expected Result : {1: 10, 2: 20, 3: 30, 4:40, 5: 50, 6: 60}

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!