You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to apply sorting on the value of multiple values of single key in Dictionary. For example, I have a dictionary with {"K1":"A1,B1,C1,D1","K2":"A2,B2,C2,D2","K3":"A3,B3,C3,D3",}. Now I want to perform sorting on the all third element of values in this case {C1,C2.C3.C4} and after that retrieve the key associated with the value. How to do that in python without converting dictionary into list or something else. If we cannot do it without conversion, in that case how to do it with conversion.
Need help for this assignment question. Thanks in advance
The text was updated successfully, but these errors were encountered:
Hello everyone,
I want to apply sorting on the value of multiple values of single key in Dictionary. For example, I have a dictionary with {"K1":"A1,B1,C1,D1","K2":"A2,B2,C2,D2","K3":"A3,B3,C3,D3",}. Now I want to perform sorting on the all third element of values in this case {C1,C2.C3.C4} and after that retrieve the key associated with the value. How to do that in python without converting dictionary into list or something else. If we cannot do it without conversion, in that case how to do it with conversion.
Need help for this assignment question. Thanks in advance
The text was updated successfully, but these errors were encountered: