A program uses chained comparisons and a mixed condition. x = 5 print(1 < x < 10, 10 > x > 7, x == 5 != 4, not x > 3 or x) What does the program print?
True False True False
True False True 5
True True True 5
True False False 5
Log in to join the discussion.
Loading…