8
Answers

I have {'A': value, 'B': value} dictionary. What is the logic of compa

Photo of Shivakumar

Shivakumar

4y
476
1
I have {'A': value, 'B': value} dictionary. What is the logic of comparing different key. Sample, input key is 'A', then it should compare to key 'B'. dict[input] > dict[other] and vice versa.

Answers (8)