Friday, May 25, 2018

How to chain comparisons in Python

CODE:
print(4 > 3 > 2 > 1)


OUTPUT:
True


No comments:

Post a Comment