Shivakumar

Shivakumar

  • NA
  • 103
  • 7.5k

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

Mar 8 2021 12:17 PM
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)