Feb-05-2018, 08:02 AM
Hi experts,
This is a short one
Just wondering if there is a way to sort the print out of a dictionary. For example, if I print the dictionary, I got the result like:
Best Regards,
Henry
This is a short one

{2: 16, 5: 22, 4: 20, 6: 13, 3: 19, 1: 10}Can we make it like:
{1:10,2:16,3:19,4:20,5:22,6:13}Really appreciate your help!
Best Regards,
Henry