04-Python Comparison Operators Flashcards

1
Q

Chained Comparison Operators

A

1 < 2 < 3

True

or

1<2 and 2<3

also

1 < 3 > 2

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly