0

When I try to compare two tuples in the below way, I get a different output each time. Why is that?

>>> print((23,12,1234)<=(19,9,2468))
False
    
>>> print((1234,12,23)<=(2468,9,19))
True
Leo Pfeiffer
  • 76
  • 1
  • 5
Vinay
  • 5
  • 2
  • What did you hope that it would do instead, Vinay? If you say that, then maybe somebody can find a way to do what you want. –  Aug 08 '20 at 06:41
  • can you explain it please with my question @pacharan – Vinay Aug 08 '20 at 07:21
  • Vinay, your question has been closed now as a duplicate - please see the question that has been linked, as that should contain the answers that you need. –  Aug 08 '20 at 07:24

0 Answers0