A

Admin • 833.24K Points
Coach

Q. What will be the result of `3 > 2 > 1`?

  • (A) True
  • (B) False
  • (C) Error
  • (D) None
  • Correct Answer - Option(A)
  • Views: 20
  • Filed under category Python
  • Hashtags:

Explanation by: Admin

Python allows chained comparisons; `3 > 2` and `2 > 1` are both true.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.